Thread (114 messages) 114 messages, 9 authors, 2005-04-22

Re: [14/*] [IPV6] Reload skb->dst after xfrm6_route_forward

From: "David S. Miller" <davem@davemloft.net>
Date: 2005-03-15 05:27:28

On Mon, 14 Mar 2005 22:10:02 +1100
Herbert Xu [off-list ref] wrote:
While replacing dst_pmtu in ip6_output I found this little gem.  In
ip6_forward we're not reloading the dst pointer after calling
xfrm6_route_forward.  So all subsequent dereferences of dst will
refer to its pre-IPsec value.

The solution is of course to refresh its value.
 
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Good catch Herbert.

Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help