patch-2.1.9 linux/net/ipv6/datagram.c

Next file: linux/net/ipv6/ipv6_output.c
Previous file: linux/net/ipv6/addrconf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/net/ipv6/datagram.c linux/net/ipv6/datagram.c
@@ -140,12 +140,6 @@
 					goto exit_f;
 				}
 
-				if (in6_dev && ifp->scope == IFA_LINK &&
-				    in6_dev != ifp->idev)
-				{
-					goto exit_f;
-				}
-
 				*src_addr = &src_info->ipi6_addr;
 				err = 0;
 			}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov