xfrm6: ensure to use the same dev when building a bundle
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 21 Apr 2010 23:25:30 +0000 (16:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 23:25:30 +0000 (16:25 -0700)
commitbc8e4b954e463716a57d8113dd50ae9d47b682a7
tree41a2b898ae8d269da8b1d8e649e5711356d49ee3
parent1c0b28b1ee90261a0a27194e6684dd2837785064
xfrm6: ensure to use the same dev when building a bundle

When building a bundle, we set dst.dev and rt6.rt6i_idev.
We must ensure to set the same device for both fields.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_policy.c