From: Duan Jiong Date: Fri, 14 Dec 2012 02:59:59 +0000 (+0000) Subject: ipv6: Change skb->data before using icmpv6_notify() to propagate redirect X-Git-Tag: v3.8-rc1~40^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093d04d42fa094f6740bb188f0ad0c215ff61e2c;p=pandora-kernel.git ipv6: Change skb->data before using icmpv6_notify() to propagate redirect In function ndisc_redirect_rcv(), the skb->data points to the transport header, but function icmpv6_notify() need the skb->data points to the inner IP packet. So before using icmpv6_notify() to propagate redirect, change skb->data to point the inner IP packet that triggered the sending of the Redirect, and introduce struct rd_msg to make it easy. Signed-off-by: Duan Jiong Signed-off-by: David S. Miller --- Reading git-diff-tree failed