From: Alexey Dobriyan Date: Sat, 29 Aug 2009 01:34:49 +0000 (+0000) Subject: netns: embed ip6_dst_ops directly X-Git-Tag: v2.6.32-rc1~703^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86393e52c3f1e2f6be18383f6ecdbcdc5727d545;p=pandora-kernel.git netns: embed ip6_dst_ops directly struct net::ipv6.ip6_dst_ops is separatedly dynamically allocated, but there is no fundamental reason for it. Embed it directly into struct netns_ipv6. For that: * move struct dst_ops into separate header to fix circular dependencies I honestly tried not to, it's pretty impossible to do other way * drop dynamical allocation, allocate together with netns For a change, remove struct dst_ops::dst_net, it's deducible by using container_of() given dst_ops pointer. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- Reading git-diff-tree failed