]> err.no Git - linux-2.6/commit
[PATCH] genetlink: don't touch module ref count
authorPer Liden <per.liden@ericsson.com>
Fri, 13 Jan 2006 21:06:40 +0000 (13:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jan 2006 21:06:40 +0000 (13:06 -0800)
commit23b0ca5bf52cef0ab0f0fe247cb91cbef836e7eb
tree3643a547de2c6f3bad63361d1584ff566c9012ba
parent2e4e6a17af35be359cc8f1c924f8f198fbd478cc
[PATCH] genetlink: don't touch module ref count

Increasing the module ref count at registration will block the module from
ever being unloaded. In fact, genetlink should not care about the owner at
all. This patch removes the owner field from the struct registered with
genetlink.

Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
net/netlink/genetlink.c
net/tipc/netlink.c