aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2014-06-12 18:53:10 +0000
committerDavid S. Miller <[email protected]>2014-06-13 22:27:59 +0000
commit2853af6a2ea1a8ed09b09dd4fb578e7f435e8d34 (patch)
tree5fe67955fc104ebd852e3a3c7fcea1cea5713efa /drivers/tty/serial/sccnxp.c
parentMAINTAINERS: update cxgb4 maintainer (diff)
downloadkernel-2853af6a2ea1a8ed09b09dd4fb578e7f435e8d34.tar.gz
kernel-2853af6a2ea1a8ed09b09dd4fb578e7f435e8d34.zip
vxlan: use dev->needed_headroom instead of dev->hard_header_len
When we mirror packets from a vxlan tunnel to other device, the mirror device should see the same packets (that is, without outer header). Because vxlan tunnel sets dev->hard_header_len, tcf_mirred() resets mac header back to outer mac, the mirror device actually sees packets with outer headers Vxlan tunnel should set dev->needed_headroom instead of dev->hard_header_len, like what other ip tunnels do. This fixes the above problem. Cc: "David S. Miller" <[email protected]> Cc: stephen hemminger <[email protected]> Cc: Pravin B Shelar <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions