]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netlink: Make NETLINK_USERSOCK work again.
authorDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2010 02:08:01 +0000 (19:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2010 16:51:37 +0000 (09:51 -0700)
commitb963ea89f00f13c648af4082e5efb2172d369727
treed5a09f822da3b0827a32c5b2aa2d72f8e537b6fa
parent628e300cccaa628d8fb92aa28cb7530a3d5f2257
netlink: Make NETLINK_USERSOCK work again.

Once we started enforcing the a nl_table[] entry exist for
a protocol, NETLINK_USERSOCK stopped working.  Add a dummy
table entry so that it works again.

Reported-by: Thomas Voegtle <tv@lio96.de>
Tested-by: Thomas Voegtle <tv@lio96.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c