summaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2016-02-18 13:38:04 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-18 17:14:19 +0100
commit619fe32640b4b01f370574d50344ae0f62689816 (patch)
tree7d0d02fb0e21601e637a698224d080269949e300 /net/ipv4/route.c
parentMerge branch 'mlxsw-fixes' (diff)
downloadlinux-619fe32640b4b01f370574d50344ae0f62689816.tar.xz
linux-619fe32640b4b01f370574d50344ae0f62689816.zip
net_sched fix: reclassification needs to consider ether protocol changes
actions could change the etherproto in particular with ethernet tunnelled data. Typically such actions, after peeling the outer header, will ask for the packet to be reclassified. We then need to restart the classification with the new proto header. Example setup used to catch this: sudo tc qdisc add dev $ETH ingress sudo $TC filter add dev $ETH parent ffff: pref 1 protocol 802.1Q \ u32 match u32 0 0 flowid 1:1 \ action vlan pop reclassify Fixes: 3b3ae880266d ("net: sched: consolidate tc_classify{,_compat}") Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
0 files changed, 0 insertions, 0 deletions