Skip to content
Commit 093d04d4 authored by Duan Jiong's avatar Duan Jiong Committed by David S. Miller
Browse files

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: default avatarDuan Jiong <djduanjiong@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e9f9545
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment