patch-2.1.127 linux/net/netlink/af_netlink.c
Next file: linux/net/protocols.c
Previous file: linux/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Sat Nov 7 11:00:33 1998
- Orig file:
v2.1.126/linux/net/netlink/af_netlink.c
- Orig date:
Mon Oct 5 13:13:49 1998
diff -u --recursive --new-file v2.1.126/linux/net/netlink/af_netlink.c linux/net/netlink/af_netlink.c
@@ -427,7 +427,7 @@
continue;
if (failure) {
- sk->err = -ENOBUFS;
+ sk->err = ENOBUFS;
sk->state_change(sk);
continue;
}
@@ -442,12 +442,12 @@
}
}
if (skb2 == NULL) {
- sk->err = -ENOBUFS;
+ sk->err = ENOBUFS;
sk->state_change(sk);
/* Clone failed. Notify ALL listeners. */
failure = 1;
} else if (netlink_broadcast_deliver(sk, skb2)) {
- sk->err = -ENOBUFS;
+ sk->err = ENOBUFS;
sk->state_change(sk);
} else
skb2 = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov