diff options
author | Harald Welte <laforge@netfilter.org> | 2005-08-10 05:03:54 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-30 00:40:06 +0200 |
commit | a42827b71b87fc9816d2f58626e825b0eb500efe (patch) | |
tree | 9f90bd210ca9d0d57bbdcd54beca2bc39c23c05d /sound/isa/sscape.c | |
parent | [NETFILTER]: attribute count is an attribute of message type, not subsytem (diff) | |
download | linux-a42827b71b87fc9816d2f58626e825b0eb500efe.tar.xz linux-a42827b71b87fc9816d2f58626e825b0eb500efe.zip |
[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>
Diffstat (limited to 'sound/isa/sscape.c')
0 files changed, 0 insertions, 0 deletions