patch-2.1.101 linux/net/netlink/netlink_dev.c
Next file: linux/net/netrom/af_netrom.c
Previous file: linux/net/netlink/af_netlink.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri May 8 00:08:02 1998
- Orig file:
v2.1.100/linux/net/netlink/netlink_dev.c
- Orig date:
Tue Mar 10 10:03:37 1998
diff -u --recursive --new-file v2.1.100/linux/net/netlink/netlink_dev.c linux/net/netlink/netlink_dev.c
@@ -116,7 +116,7 @@
MOD_INC_USE_COUNT;
err = -EINVAL;
- if (net_families[AF_NETLINK]==NULL)
+ if (net_families[PF_NETLINK]==NULL)
goto out;
err = -ENFILE;
@@ -125,7 +125,7 @@
sock->type = SOCK_RAW;
- if ((err = net_families[AF_NETLINK]->create(sock, minor)) < 0)
+ if ((err = net_families[PF_NETLINK]->create(sock, minor)) < 0)
{
sock_release(sock);
goto out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov