]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: fix the printing of ifindex
authorWilliam Tu <u9012063@gmail.com>
Wed, 2 Aug 2017 15:43:52 +0000 (08:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:25:26 +0000 (09:25 -0700)
commit156ea440648bc1518944ac6dadbc57b340654187
tree986e1de93098b87aec81661563a35531b4d677a8
parent850922ea4640ef8d388e013249e16e5cd5bdedb7
bpf: fix the printing of ifindex

Save the ifindex before it gets zeroed so the invalid
ifindex can be printed out.

Signed-off-by: William Tu <u9012063@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c