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

Next file: linux-2.4.21/net/ipv6/exthdrs.c
Previous file: linux-2.4.21/net/ipv6/anycast.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/net/ipv6/datagram.c linux-2.4.21/net/ipv6/datagram.c
@@ -158,6 +158,7 @@
 	if (serr->ee.ee_origin != SO_EE_ORIGIN_LOCAL) {
 		sin->sin6_family = AF_INET6;
 		sin->sin6_flowinfo = 0;
+		sin->sin6_scope_id = 0;
 		if (serr->ee.ee_origin == SO_EE_ORIGIN_ICMP6) {
 			memcpy(&sin->sin6_addr, &skb->nh.ipv6h->saddr, 16);
 			if (sk->net_pinfo.af_inet6.rxopt.all)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)