netfilter: ctnetlink: fix reliable event delivery if message building fails
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 16 Mar 2010 13:30:21 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Mar 2010 21:29:03 +0000 (14:29 -0700)
commit37b7ef7203240b3aba577bb1ff6765fe15225976
tree6e54b06dd07adff6e1ea52caf6715eca905dbb9a
parent1a50307ba1826e4da0024e64b245ce4eadf7688a
netfilter: ctnetlink: fix reliable event delivery if message building fails

This patch fixes a bug that allows to lose events when reliable
event delivery mode is used, ie. if NETLINK_BROADCAST_SEND_ERROR
and NETLINK_RECV_NO_ENOBUFS socket options are set.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink.h
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nfnetlink.c