diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-08-29 03:34:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 02:40:31 +0200 |
commit | 86393e52c3f1e2f6be18383f6ecdbcdc5727d545 (patch) | |
tree | f5c688c0cb5292143478249f807c4b2372f69dfd /firmware/ttusb-budget | |
parent | bonding: use compare_ether_addr_64bits() in ALB (diff) | |
download | linux-86393e52c3f1e2f6be18383f6ecdbcdc5727d545.tar.xz linux-86393e52c3f1e2f6be18383f6ecdbcdc5727d545.zip |
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 <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/ttusb-budget')
0 files changed, 0 insertions, 0 deletions