diff options
| author | Harald Welte <[email protected]> | 2005-08-09 20:03:54 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2005-08-29 15:40:06 -0700 |
| commit | a42827b71b87fc9816d2f58626e825b0eb500efe (patch) | |
| tree | 9f90bd210ca9d0d57bbdcd54beca2bc39c23c05d /include/linux | |
| parent | 927ccbcc28dceee29dad876982768cca29738564 (diff) | |
[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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions