diff options
author | Duan Jiong <djduanjiong@gmail.com> | 2012-12-14 02:59:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-14 13:14:07 -0500 |
commit | 093d04d42fa094f6740bb188f0ad0c215ff61e2c (patch) | |
tree | 7231c8fddcc6157dce7ecde4491c355fc284824c /net/wireless | |
parent | 1e9f954516ee03251e0ac2e98cad2e4be6ce9958 (diff) | |
download | linux-093d04d42fa094f6740bb188f0ad0c215ff61e2c.tar.bz2 |
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 <djduanjiong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions