diff options
| author | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-04 15:55:26 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-04 15:55:26 -0500 |
| commit | 8be7ed14f4f45e0cd19a70120a1526e1121af4b0 (patch) | |
| tree | 6529bad824cecc06639c09b0f33ff5b377bb0c75 /net/netlink/af_netlink.c | |
| parent | d1398a6ff503a849f3c123bc5f0fdff383a1b6ec (diff) | |
| parent | 30c4cf577fb5b68c16e5750d6bdbd7072e42b279 (diff) | |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[IPV4/IPV6]: Fix inet{,6} device initialization order.
[TCP]: Use old definition of before
[NETFILTER]: ebtables: don't compute gap before checking struct type
[NETFILTER]: nf_nat: fix MASQUERADE crash on device down
[NETFILTER]: New connection tracking is not EXPERIMENTAL anymore
[NETFILTER]: Fix routing of REJECT target generated packets in output chain
[NETFILTER]: compat offsets size change
[SUNGEM]: PHY updates & pause fixes (#2)
[X25]: proper prototype for x25_init_timers()
[AF_NETLINK]: module_put cleanup
[XFRM_USER]: avoid pointless void ** casts
[NETFILTER] xt_hashlimit.c: fix typo
[NET] drivers/net/loopback.c: convert to module_init()
[PKTGEN]: Convert to kthread API.
[NET]: ifb double-counts packets
Diffstat (limited to 'net/netlink/af_netlink.c')
| -rw-r--r-- | net/netlink/af_netlink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 276131fe56dd..383dd4e82ee1 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
| @@ -472,8 +472,7 @@ static int netlink_release(struct socket *sock) | |||
| 472 | NETLINK_URELEASE, &n); | 472 | NETLINK_URELEASE, &n); |
| 473 | } | 473 | } |
| 474 | 474 | ||
| 475 | if (nlk->module) | 475 | module_put(nlk->module); |
| 476 | module_put(nlk->module); | ||
| 477 | 476 | ||
| 478 | netlink_table_grab(); | 477 | netlink_table_grab(); |
| 479 | if (nlk->flags & NETLINK_KERNEL_SOCKET) { | 478 | if (nlk->flags & NETLINK_KERNEL_SOCKET) { |
