summaryrefslogtreecommitdiff
path: root/net/ife
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/ife
parent1cc276cec9ec574d41cf47dfc0f51406b6f26ab4 (diff)
parent9ef2a8cd5c0dcb8e1f1534615c56eb13b630c363 (diff)
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/ife')
0 files changed, 0 insertions, 0 deletions