summaryrefslogtreecommitdiff
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorPeter Kosyh <p.kosyh@gmail.com>2019-07-19 11:11:47 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-21 23:32:51 +0300
commit107e47cc80ec37cb332bd41b22b1c7779e22e018 (patch)
treead7e68bbfcbb8e66acce7611af31597eadfd9ca9 /drivers/net/veth.c
parent903e9d1bffb557220af276eda97b9d6b103ec9e0 (diff)
downloadlinux-107e47cc80ec37cb332bd41b22b1c7779e22e018.tar.xz
vrf: make sure skb->data contains ip header to make routing
vrf_process_v4_outbound() and vrf_process_v6_outbound() do routing using ip/ipv6 addresses, but don't make sure the header is available in skb->data[] (skb_headlen() is less then header size). Case: 1) igb driver from intel. 2) Packet size is greater then 255. 3) MPLS forwards to VRF device. So, patch adds pskb_may_pull() calls in vrf_process_v4/v6_outbound() functions. Signed-off-by: Peter Kosyh <p.kosyh@gmail.com> Reviewed-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions