aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-03-18 14:24:42 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-20 14:29:03 -0700
commit1a50307ba1826e4da0024e64b245ce4eadf7688a (patch)
tree48c0b788b925d6ae0877f5b95f5e0794ce0601a7 /include/linux/netfilter
parentNET_DMA: free skbs periodically (diff)
downloadlinux-dev-1a50307ba1826e4da0024e64b245ce4eadf7688a.tar.xz
linux-dev-1a50307ba1826e4da0024e64b245ce4eadf7688a.zip
netlink: fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err()
Currently, ENOBUFS errors are reported to the socket via netlink_set_err() even if NETLINK_RECV_NO_ENOBUFS is set. However, that should not happen. This fixes this problem and it changes the prototype of netlink_set_err() to return the number of sockets that have set the NETLINK_RECV_NO_ENOBUFS socket option. This return value is used in the next patch in these bugfix series. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter')
0 files changed, 0 insertions, 0 deletions