]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IPv6: fix Mobile IPv6 regression
authorBrian Haley <brian.haley@hp.com>
Sat, 29 May 2010 06:02:35 +0000 (23:02 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:18 +0000 (10:29 -0700)
commitfccaf8963bdf9c58c9ee93143689dc47b66dc5f0
treeccf53790f827c76ac858e8f462d959d0e61dfbcc
parent85d9faef1812bdc2ee93a727d2bfdebf67a91d0b
IPv6: fix Mobile IPv6 regression

[ Upstream commit 6057fd78a8dcce6269f029b967051d5a2e9b0895 ]

Commit f4f914b5 (net: ipv6 bind to device issue) caused
a regression with Mobile IPv6 when it changed the meaning
of fl->oif to become a strict requirement of the route
lookup.  Instead, only force strict mode when
sk->sk_bound_dev_if is set on the calling socket, getting
the intended behavior and fixing the regression.

Tested-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/route.c