[NETNS]: Provide correct namespace for fibnl netlink socket.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:28:55 +0000 (03:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:32 +0000 (15:01 -0800)
commit6bd48fcf73019219495f7599028296c65b749bb4
tree571e106537727edaf407ac4e43de433b139370f6
parente4aef8aea31e6fc61b33a57120968a6e9824d138
[NETNS]: Provide correct namespace for fibnl netlink socket.

This patch makes the netlink socket to be per namespace. That allows
to have each namespace its own socket for routing queries.

Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
net/ipv4/fib_frontend.c