X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fnet_namespace.h;h=4d0d6349aa7ec4e3291884e9326afb1db0cd9b28;hb=7bc54c90307b4bc3d7fb2ffd6ad8fbda0671a45e;hp=90802a668c235f20f9b40f63db4b001d7123de3b;hpb=97c53cacf00d1f5aa04adabfebcc806ca8b22b10;p=linux-2.6 diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 90802a668c..4d0d6349aa 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -32,6 +32,10 @@ struct net { struct hlist_head *dev_index_head; struct sock *rtnl; /* rtnetlink socket */ + + /* List of all packet sockets. */ + rwlock_t packet_sklist_lock; + struct hlist_head packet_sklist; }; #ifdef CONFIG_NET