net: introduce helper macro for_each_cmsghdr
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Thu, 11 Dec 2014 03:22:04 +0000 (11:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Dec 2014 03:41:55 +0000 (22:41 -0500)
commitf95b414edb18de59940dcebbefb49cf25c6d505c
tree654de508641fd2c82428f43387b72fd1a3dcef42
parentdd0bcc0bc842e0d2c981102376d867c1a8bad320
net: introduce helper macro for_each_cmsghdr

Introduce helper macro for_each_cmsghdr as a wrapper of the enumerating
cmsghdr from msghdr, just cleanup.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/af_alg.c
include/linux/socket.h
net/core/scm.c
net/dccp/proto.c
net/ipv4/ip_sockglue.c
net/ipv6/datagram.c
net/iucv/af_iucv.c
net/rds/send.c
net/rxrpc/ar-output.c
net/sctp/socket.c