]> Git Repo - linux.git/commit - net/ipv6/ip6_output.c
ipv6: Process unicast packet with Router Alert by checking flag in skb.
authorYOSHIFUJI Hideaki / 吉藤英明 <[email protected]>
Sat, 22 Jun 2013 02:13:13 +0000 (11:13 +0900)
committerDavid S. Miller <[email protected]>
Tue, 25 Jun 2013 21:47:22 +0000 (14:47 -0700)
commitab4eb3537e3f20b2a88467e1f708a136df6e0ecb
tree8628924f196b022395f241acec9eab9ae946b55f
parenta3d9dd89b781bdcb14201847608b658442de812b
ipv6: Process unicast packet with Router Alert by checking flag in skb.

Router Alert option is marked in skb.
Previously, IP6CB(skb)->ra was set to positive value for such packets.
Since commit dd3332bf ("ipv6: Store Router Alert option in IP6CB
directly."), IP6SKB_ROUTERALERT is set in IP6CB(skb)->flags, and
the value of Router Alert option (in network byte order) is set
to IP6CB(skb)->ra for such packets.

Multicast forwarding path uses that flag and value, but unicast
forwarding path does not use the flag and misuses IP6CB(skb)->ra
value.

Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_output.c
This page took 0.060414 seconds and 4 git commands to generate.