Pablo Neira Ayuso f49c857ff2 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>
2009-06-02 20:03:33 +02:00
..
2009-05-25 01:53:53 -07:00
2009-05-25 01:53:53 -07:00
2009-05-25 01:53:53 -07:00
2009-04-20 02:14:59 -07:00
2009-01-04 17:29:21 -08:00
2009-05-25 01:53:53 -07:00
2009-04-23 06:37:16 -07:00
2009-04-22 00:49:51 -07:00
2009-05-25 22:58:01 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:43:35 -08:00