]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: em_ipt: match only on ip/ipv6 traffic
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 27 Jun 2019 08:10:44 +0000 (11:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2019 18:15:12 +0000 (11:15 -0700)
commit35f41975e41b3a9b3f88b07575bdaea7ca5b84af
treed256f67e52bd43038335a6824157e6d898595267
parentbf11f7010e5d57d48b948bffba86909ca34959ef
net: sched: em_ipt: match only on ip/ipv6 traffic

Restrict matching only to ip/ipv6 traffic and make sure we can use the
headers, otherwise matches will be attempted on any protocol which can
be unexpected by the xt matches. Currently policy supports only ipv4/6.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/em_ipt.c