summaryrefslogtreecommitdiff
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-16 13:31:14 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:58:10 -0800
commitc0ce9fb304871daa0dd2bf0efb1b241b9fa4a279 (patch)
tree3783b5871680d9cf5712c4aade60fc2e4c8e790f /include/net/tcp.h
parent32e569b7277f13c4b27bb29c761189963e49ce7a (diff)
[IPV4]: Store the net pointer on devinet's ctl tables
Some handers and strategies of devinet sysctl tables need to know the net to propagate the ctl change to all the net devices. I use the (currently unused) extra2 pointer on the tables to get it. Holding the reference on the struct net is not possible, because otherwise we'll get a net->ctl_table->net circular dependency. But since the ctl tables are unregistered during the net destruction, this is safe to get it w/o additional protection. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions