summaryrefslogtreecommitdiff
path: root/include/net/dsfield.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2013-01-08 10:44:23 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-10 11:59:53 +0400
commit6c40d100ce3311a44ef82c678fb46833a270c007 (patch)
treec520c66ae178d627904c848941d2161d6260a4dd /include/net/dsfield.h
parent29166107fd34a4d180c1adaaaccab0c050defc2e (diff)
downloadlinux-6c40d100ce3311a44ef82c678fb46833a270c007.tar.xz
ipv6: Use container_of macro instead of magic number to get ipv6 header.
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>
Diffstat (limited to 'include/net/dsfield.h')
0 files changed, 0 insertions, 0 deletions