aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-10-20 13:01:30 +0100
committerDavid S. Miller <davem@davemloft.net>2017-10-20 13:01:30 +0100
commite95c6cf447ecac5ab5bc38600e1d2ac7b3d54aae (patch)
tree52d1bcf9c1257a973d3a78cdf54d0d6f005df705 /net/ipv4/tcp_ipv4.c
parentsctp: add the missing sock_owned_by_user check in sctp_icmp_redirect (diff)
parentbpf: require CAP_NET_ADMIN when using devmap (diff)
downloadlinux-dev-e95c6cf447ecac5ab5bc38600e1d2ac7b3d54aae.tar.xz
linux-dev-e95c6cf447ecac5ab5bc38600e1d2ac7b3d54aae.zip
Merge branch 'sockmap-fixes'
John Fastabend says: ==================== sockmap fixes for net The following implements a set of fixes for sockmap and changes the API slightly in a few places to reduce preempt_disable/enable scope. We do this here in net because it requires an API change and this avoids getting stuck with legacy API going forward. The short description: Access to skb mark is removed, it is problematic when we add features in the future because mark is a union and used by the TCP/socket code internally. We don't want to expose this to the BPF programs or let programs change the values. The other change is caching metadata in the skb itself between when the BPF program returns a redirect code and the core code implements the redirect. This avoids having per cpu metadata. Finally, tighten restriction on using sockmap to CAP_NET_ADMIN and only SOCK_STREAM sockets. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions