]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: use consistent ipv4 network offset in xt_AUDIT
authorRichard Guy Briggs <rgb@redhat.com>
Tue, 2 May 2017 14:16:04 +0000 (10:16 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 2 May 2017 14:16:04 +0000 (10:16 -0400)
commit1190ca423f1a3208267a1c61f936c546b8c67a87
treeb85cf2ecd708c865ff852a85764ad8b75a07f477
parentf9e096d35ed544a47897f1a870cac108e46dda19
netfilter: use consistent ipv4 network offset in xt_AUDIT

Even though the skb->data pointer has been moved from the link layer
header to the network layer header, use the same method to calculate the
offset in ipv4 and ipv6 routines.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: munged subject line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
net/netfilter/xt_AUDIT.c