Re: [PATCH net-next 1/4] net: add event_list to struct net and provide utility functions From: Julian Anastasov <ja@ssi.bg> Date: 2016-02-02 20:01:48 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->event_list) is missing. + list_add_tail(&net->event_list, head); +} + Regards
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help