ipv6: Use container_of macro instead of magic number to get ipv6 header.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Tue, 8 Jan 2013 06:44:23 +0000 (06:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jan 2013 07:59:53 +0000 (23:59 -0800)
In ipv6_recv_error(), addr_offset points to daddr field of the ip header.
To get ipv6 header, use container_of() macro instead of substracting magic
number (24).

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found