]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ctnetlink: fix echo if not subscribed to any multicast group
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 Feb 2009 22:34:26 +0000 (14:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2009 22:34:26 +0000 (14:34 -0800)
commit99b5f50fe741186de738844b5e0676ac1dafe3c0
tree01cbe702802c244fe05d9d02e5bc4781081821af
parent35e3eb26f0d286fc6e159aff87d50252a3a8b50c
netfilter: ctnetlink: fix echo if not subscribed to any multicast group

This patch fixes echoing if the socket that has sent the request to
create/update/delete an entry is not subscribed to any multicast
group. With the current code, ctnetlink would not send the echo
message via unicast as nfnetlink_send() would be skip.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_netlink.c