projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce ipv6_hdr(), remove skb->nh.ipv6h
[linux-block.git]
/
net
/
ipv6
/
netfilter
/
ip6t_LOG.c
diff --git
a/net/ipv6/netfilter/ip6t_LOG.c
b/net/ipv6/netfilter/ip6t_LOG.c
index fc9e51a77784a537ad06d2524c0917f9135cb918..54d176187f3f44a3c5e97f36f93605656c860394 100644
(file)
--- a/
net/ipv6/netfilter/ip6t_LOG.c
+++ b/
net/ipv6/netfilter/ip6t_LOG.c
@@
-422,7
+422,7
@@
ip6t_log_packet(unsigned int pf,
printk(" ");
}
- dump_packet(loginfo, skb,
(u8*)skb->nh.ipv6h - skb->data
, 1);
+ dump_packet(loginfo, skb,
skb_network_offset(skb)
, 1);
printk("\n");
spin_unlock_bh(&log_lock);
}