From: YOSHIFUJI Hideaki / 吉藤英明 Date: Tue, 8 Jan 2013 06:44:23 +0000 (+0000) Subject: ipv6: Use container_of macro instead of magic number to get ipv6 header. X-Git-Tag: v3.9-rc1~139^2~421 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c40d100ce3311a44ef82c678fb46833a270c007;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed