]> git.baikalelectronics.ru Git - kernel.git/commit
netns: ipmr: dynamically allocate vif_table
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 22 Jan 2009 04:56:16 +0000 (04:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jan 2009 21:57:34 +0000 (13:57 -0800)
commit5aee3809e06b0c3060a5a227580d050e11138c0b
treef304ea66b789f4287968fcaa57831cd4fa8e2576
parentc4417213a2581a4622a3194d9094e03ee1858f2d
netns: ipmr: dynamically allocate vif_table

Preliminary work to make IPv6 multicast routing netns-aware.

Dynamically allocate interface table vif_table and move it to
struct netns_ipv4, and update MIF_EXISTS() macro.

At the moment, vif_table is only referenced in init_net.

Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
net/ipv4/ipmr.c