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)
commit0cb88b6ff054ccfa30e0fd7f7b42ee9f088db432
treeb85cf2ecd708c865ff852a85764ad8b75a07f477
parentf6276ac95bde4312251535904af32b1de9d54949
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