[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)
commitb529ccf2799c14346d1518e9bdf1f88f03643e99
treef899a5a5d66d2ca21724c1871ee3afeda6c4a670
parent965ffea43d4ebe8cd7b9fee78d651268dd7d23c5
[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