netlink: hide struct module parameter in netlink_kernel_create
This patch defines netlink_kernel_create as a wrapper function of __netlink_kernel_create to hide the struct module *me parameter (which seems to be THIS_MODULE in all existing netlink subsystems). Suggested by David S. Miller. Signed-off-by:Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- crypto/crypto_user.c 1 addition, 2 deletionscrypto/crypto_user.c
- drivers/connector/connector.c 1 addition, 2 deletionsdrivers/connector/connector.c
- drivers/infiniband/core/netlink.c 1 addition, 1 deletiondrivers/infiniband/core/netlink.c
- drivers/scsi/scsi_netlink.c 1 addition, 1 deletiondrivers/scsi/scsi_netlink.c
- drivers/scsi/scsi_transport_iscsi.c 1 addition, 2 deletionsdrivers/scsi/scsi_transport_iscsi.c
- drivers/staging/gdm72xx/netlink_k.c 1 addition, 1 deletiondrivers/staging/gdm72xx/netlink_k.c
- include/linux/netlink.h 10 additions, 3 deletionsinclude/linux/netlink.h
- kernel/audit.c 1 addition, 2 deletionskernel/audit.c
- lib/kobject_uevent.c 1 addition, 2 deletionslib/kobject_uevent.c
- net/bridge/netfilter/ebt_ulog.c 1 addition, 2 deletionsnet/bridge/netfilter/ebt_ulog.c
- net/core/rtnetlink.c 1 addition, 1 deletionnet/core/rtnetlink.c
- net/core/sock_diag.c 1 addition, 2 deletionsnet/core/sock_diag.c
- net/decnet/netfilter/dn_rtmsg.c 1 addition, 2 deletionsnet/decnet/netfilter/dn_rtmsg.c
- net/ipv4/fib_frontend.c 1 addition, 1 deletionnet/ipv4/fib_frontend.c
- net/ipv4/netfilter/ipt_ULOG.c 1 addition, 2 deletionsnet/ipv4/netfilter/ipt_ULOG.c
- net/netfilter/nfnetlink.c 1 addition, 1 deletionnet/netfilter/nfnetlink.c
- net/netlink/af_netlink.c 3 additions, 5 deletionsnet/netlink/af_netlink.c
- net/netlink/genetlink.c 1 addition, 2 deletionsnet/netlink/genetlink.c
- net/xfrm/xfrm_user.c 1 addition, 1 deletionnet/xfrm/xfrm_user.c
- security/selinux/netlink.c 1 addition, 2 deletionssecurity/selinux/netlink.c
Please register or sign in to comment