commit | 4a6258a0e33d042e4c84d9dec25d45ddb40a70b3 | [log] [tgz] |
---|---|---|
author | Benjamin Thery <benjamin.thery@bull.net> | Wed Dec 10 16:24:07 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 10 16:24:07 2008 -0800 |
tree | 5cc24a8d367593b039c32a0d1fa4a64730673542 | |
parent | 58701ad41105638baa0b38ffe9ac5b10469c1fd3 [diff] |
netns: ip6mr: dynamically allocate mfc6_cache_array Preliminary work to make IPv6 multicast forwarding netns-aware. Dynamically allocates IPv6 multicast forwarding cache, mfc6_cache_array, and moves it to struct netns_ipv6. At the moment, mfc6_cache_array is only referenced in init_net. Replace 'ARRAY_SIZE(mfc6_cache_array)' with mfc6_cache_array size: MFC6_LINES. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>