]> 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)
commitf94b357bdc6fa131cc5efe798dd525266d483929
treed256f67e52bd43038335a6824157e6d898595267
parent9c4cac8332eb7cefc5b33d007c7d99b8164a7de7
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