patch-2.1.34 linux/net/ipv6/udp.c

Next file: linux/net/ipx/af_ipx.c
Previous file: linux/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/net/ipv6/udp.c linux/net/ipv6/udp.c
@@ -7,7 +7,7 @@
  *
  *	Based on linux/ipv4/udp.c
  *
- *	$Id: udp.c,v 1.12 1997/03/18 18:24:59 davem Exp $
+ *	$Id: udp.c,v 1.16 1997/04/11 22:22:57 davem Exp $
  *
  *	This program is free software; you can redistribute it and/or
  *      modify it under the terms of the GNU General Public License
@@ -290,7 +290,7 @@
 		dst_release(np->dst);
 
 	ipv6_sock_mc_close(sk);
-
+	udp_v6_unhash(sk);
 	release_sock(sk);
 	destroy_sock(sk);
 }
@@ -382,7 +382,7 @@
 	sk = udp_v6_lookup(daddr, uh->dest, saddr, uh->source);
    
 	if (sk == NULL) {
-		printk(KERN_DEBUG "icmp for unkown sock\n");
+		printk(KERN_DEBUG "icmp for unknown sock\n");
 		return;
 	}
 

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