commit | cc70ab261c9f997589546100ddec5da6bfd89c4e | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Mar 13 14:03:22 2007 -0300 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Apr 25 22:25:20 2007 -0700 |
tree | 0be6a4f0dc81131747f3d3726dba77d922c6bee9 | |
parent | 2c0fd387b00a6758550b5ca1aae4408374483fe7 [diff] [blame] |
[ICMP6]: Introduce icmp6_hdr() For consistency with all the other skb->h.raw accessors. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 00feb4c..8b946f5 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c
@@ -1366,7 +1366,7 @@ return; } - icmph = (struct icmp6hdr *) skb->h.raw; + icmph = icmp6_hdr(skb); target = (struct in6_addr *) (icmph + 1); dest = target + 1;