[NETFILTER] ctnetlink: return -EINVAL if size is wrong
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Nov 2005 21:03:09 +0000 (13:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 21:03:09 +0000 (13:03 -0800)
commitfe902a91ff427af7dbf20e7c196623b2a4eade13
tree6c1a4e96e52dcace7241ac261507edf5e2bdab59
parentd63a92810807e8da298895236f2b99697e884014
[NETFILTER] ctnetlink: return -EINVAL if size is wrong

Return -EINVAL if the size isn't OK instead of -EPERM.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c