OpenCloudOS-Kernel/net/netfilter
Harald Welte a42827b71b [NETFILTER]: cleanup nfnetlink_check_attributes()
1) memset return parameter 'cda' (nfattr pointer array) only on success
2) a message without attributes and just a 'struct nfgenmsg' is valid,
   don't return -EINVAL
3) use likely() and unlikely() where apropriate

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-08-29 15:40:06 -07:00
..
Kconfig [NETFILTER]: Add new "nfnetlink_log" userspace packet logging facility 2005-08-29 15:38:12 -07:00
Makefile [NETFILTER]: Add new "nfnetlink_log" userspace packet logging facility 2005-08-29 15:38:12 -07:00
nfnetlink.c [NETFILTER]: cleanup nfnetlink_check_attributes() 2005-08-29 15:40:06 -07:00
nfnetlink_log.c [NETFILTER]: attribute count is an attribute of message type, not subsytem 2005-08-29 15:39:14 -07:00
nfnetlink_queue.c [NETFILTER]: attribute count is an attribute of message type, not subsytem 2005-08-29 15:39:14 -07:00