On Tue, Feb 2, 2016 at 12:01 PM, Julian Anastasov wrote:
>> +#ifdef CONFIG_NET_NS
>> +static inline void net_add_event_list(struct list_head *head, struct net
>> *net)
>> +{
>> + if (!list_empty(&net->event_list))
>
> Above check looks inverted, it works may be
> because INIT_LIST_HE
Hello,
On Mon, 1 Feb 2016, Salam Noureddine wrote:
> +#ifdef CONFIG_NET_NS
> +static inline void net_add_event_list(struct list_head *head, struct net
> *net)
> +{
> + if (!list_empty(&net->event_list))
Above check looks inverted, it works may be
because INIT_LIST_HEAD(&net
Signed-off-by: Salam Noureddine
---
include/net/net_namespace.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 4089abc..4cf47de 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
Signed-off-by: Salam Noureddine
---
include/net/net_namespace.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 4089abc..4cf47de 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h