]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f25ee65f6acc359abc436e4740b169c2b12241c
tree41a2b898ae8d269da8b1d8e649e5711356d49ee3
parente97805238c97d7e3e174f456e97d8a8ccf7556d9
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