summaryrefslogtreecommitdiff
path: root/cookie.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-13 02:11:16 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-09-21 09:56:15 +0200
commit81ca1cd1c362ae536a6bee260827c395a78dc637 (patch)
tree6ff75b9b554f69e935c43fe721a1b7bc5338dffe /cookie.c
parent149e070148b14f34688e71a4c958ea844ff5c7c3 (diff)
trafgen: proto: Improve to find lower header by index
Extended struct proto_hdr with 'index' field which is used for faster lookup of lower header without doing a loop. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cookie.c')
0 files changed, 0 insertions, 0 deletions
disc add dev eth0 ingress tc filter add dev eth0 protocol ipv6 parent ffff: flower \ indev eth0 ip_proto icmpv6 type 128 code 0 action drop Without this change the code parameter above is effectively ignored. Fixes: 7b684884fbfa ("net/sched: cls_flower: Support matching on ICMP type and code") Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')