summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6mr.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2018-12-30 17:21:05 -0500
committerDavid S. Miller <davem@davemloft.net>2019-01-01 12:01:02 -0800
commit8c76e77f9069f10505c08e02646c3ee11ad79038 (patch)
tree6a0dd106ba28258fa65fb18602aa6b253fd69f70 /net/ipv6/ip6mr.c
parentaff6db454599d62191aabc208930e891748e4322 (diff)
tap: call skb_probe_transport_header after setting skb->dev
The BPF flow dissector expects either skb->sk or skb->dev set on all skbs. Delay flow dissection until after skb->dev is set. This requires calling from within an rcu read-side critical section. That is fine, see also the call from tun_xdp_one. Fixes: d0e13a1488ad ("flow_dissector: lookup netns by skb->sk if skb->dev is NULL") Reported-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6mr.c')
0 files changed, 0 insertions, 0 deletions