patch-2.1.124 linux/net/netlink/af_netlink.c

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

diff -u --recursive --new-file v2.1.123/linux/net/netlink/af_netlink.c linux/net/netlink/af_netlink.c
@@ -551,10 +551,6 @@
 	if (flags&(MSG_OOB|MSG_PEEK))
 		return -EOPNOTSUPP;
 
-	err = -sock_error(sk);
-	if (err)
-		return err;
-
 	skb = skb_recv_datagram(sk,flags,noblock,&err);
 	if (skb==NULL)
  		return err;

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