[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>
This commit is contained in:
committed by
David S. Miller
parent
2c0fd387b0
commit
cc70ab261c
@ -1366,7 +1366,7 @@ static void ndisc_redirect_rcv(struct sk_buff *skb)
|
||||
return;
|
||||
}
|
||||
|
||||
icmph = (struct icmp6hdr *) skb->h.raw;
|
||||
icmph = icmp6_hdr(skb);
|
||||
target = (struct in6_addr *) (icmph + 1);
|
||||
dest = target + 1;
|
||||
|
||||
|
Reference in New Issue
Block a user