]> git.baikalelectronics.ru Git - kernel.git/commit
[NETLINK]: Introduce nlmsg_hdr() helper
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2007 02:08:35 +0000 (19:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:34 +0000 (22:26 -0700)
commit588eff4ee9ed4d80f7d2c7619224c99ac382507f
treef899a5a5d66d2ca21724c1871ee3afeda6c4a670
parentd29aaaa4759bc6bad9763e6d95bb3323561f6aa0
[NETLINK]: Introduce nlmsg_hdr() helper

For the common "(struct nlmsghdr *)skb->data" sequence, so that we reduce the
number of direct accesses to skb->data and for consistency with all the other
cast skb member helpers.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 files changed:
drivers/connector/connector.c
drivers/scsi/scsi_netlink.c
drivers/scsi/scsi_transport_iscsi.c
fs/ecryptfs/netlink.c
include/linux/netlink.h
kernel/audit.c
kernel/taskstats.c
net/decnet/netfilter/dn_rtmsg.c
net/ipv4/fib_frontend.c
net/ipv4/inet_diag.c
net/ipv4/netfilter/ip_queue.c
net/ipv6/netfilter/ip6_queue.c
net/netlink/af_netlink.c
net/tipc/netlink.c
security/selinux/hooks.c