diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-06-02 20:03:33 +0200 |
---|---|---|
committer | pablo <pablo@1984.(none)> | 2009-06-02 20:03:33 +0200 |
commit | f49c857ff20a660850bf8014716d0df6175e1883 (patch) | |
tree | 5af68b401198fbec6b5c853c1889424a5c8c605f /fs/posix_acl.c | |
parent | 874ab9233eeddb85fd2dd85131c145bde75da39a (diff) | |
download | op-kernel-dev-f49c857ff20a660850bf8014716d0df6175e1883.zip op-kernel-dev-f49c857ff20a660850bf8014716d0df6175e1883.tar.gz |
netfilter: nfnetlink: cleanup for nfnetlink_rcv_msg() function
This patch cleans up the message handling path in two aspects:
* it uses NLMSG_LENGTH() instead of NLMSG_SPACE() like rtnetlink
does in this case to check if there is enough room for the
Netlink/nfnetlink headers. No need to check for the padding room.
* it removes a redundant header size checking that has been
already do at the beginning of the function.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'fs/posix_acl.c')
0 files changed, 0 insertions, 0 deletions