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)
commit1f9da256163e3ff91a12d0b861091f0e525139df
tree01cbe702802c244fe05d9d02e5bc4781081821af
parentc969aa7d2cd5621ad4129dae6b6551af422944c6
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