diff options
author | Per Liden <per.liden@ericsson.com> | 2006-01-14 00:06:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-14 00:06:40 +0300 |
commit | 23b0ca5bf52cef0ab0f0fe247cb91cbef836e7eb (patch) | |
tree | 3643a547de2c6f3bad63361d1584ff566c9012ba /include/net | |
parent | 2e4e6a17af35be359cc8f1c924f8f198fbd478cc (diff) | |
download | linux-23b0ca5bf52cef0ab0f0fe247cb91cbef836e7eb.tar.xz |
[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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/genetlink.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h index c5b96b2b8155..805de50df00d 100644 --- a/include/net/genetlink.h +++ b/include/net/genetlink.h @@ -22,7 +22,6 @@ struct genl_family char name[GENL_NAMSIZ]; unsigned int version; unsigned int maxattr; - struct module * owner; struct nlattr ** attrbuf; /* private */ struct list_head ops_list; /* private */ struct list_head family_list; /* private */ |