Searched hist:"86393 e52c3f1e2f6be18383f6ecdbcdc5727d545" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/net/ |
H A D | dst_ops.h | 86393e52c3f1e2f6be18383f6ecdbcdc5727d545 Fri Aug 28 20:34:49 CDT 2009 Alexey Dobriyan <adobriyan@gmail.com> 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>
|
H A D | dst.h | diff 86393e52c3f1e2f6be18383f6ecdbcdc5727d545 Fri Aug 28 20:34:49 CDT 2009 Alexey Dobriyan <adobriyan@gmail.com> 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>
|
/openbmc/linux/include/net/netns/ |
H A D | ipv6.h | diff 86393e52c3f1e2f6be18383f6ecdbcdc5727d545 Fri Aug 28 20:34:49 CDT 2009 Alexey Dobriyan <adobriyan@gmail.com> 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>
|
/openbmc/linux/net/ipv6/ |
H A D | route.c | diff 86393e52c3f1e2f6be18383f6ecdbcdc5727d545 Fri Aug 28 20:34:49 CDT 2009 Alexey Dobriyan <adobriyan@gmail.com> 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>
|