diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /net/netlink/netlink_dev.c | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'net/netlink/netlink_dev.c')
-rw-r--r-- | net/netlink/netlink_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlink/netlink_dev.c b/net/netlink/netlink_dev.c index 2a1dd160c..94be0069b 100644 --- a/net/netlink/netlink_dev.c +++ b/net/netlink/netlink_dev.c @@ -116,7 +116,7 @@ static int netlink_open(struct inode * inode, struct file * file) 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 @@ static int netlink_open(struct inode * inode, struct file * file) 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; |