[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1386716965.30495.350.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 10 Dec 2013 15:09:25 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: jiri@...nulli.us, netdev@...r.kernel.org
Subject: Re: [patch net-next] neigh: use neigh_parms_net() to get struct
neigh_parms->net pointer
On Tue, 2013-12-10 at 17:59 -0500, David Miller wrote:
> From: Jiri Pirko <jiri@...nulli.us>
> Date: Tue, 10 Dec 2013 23:55:07 +0100
>
> > This fixes compile error when CONFIG_NET_NS is not set.
> >
> > Introduced by:
> > commit 1d4c8c29841b9991cdf3c7cc4ba7f96a94f104ca
> > "neigh: restore old behaviour of default parms values"
> >
> > Signed-off-by: Jiri Pirko <jiri@...nulli.us>
> ...
> > - struct net *net = p->net;
> > + struct net *net = neigh_parms_net(p);
>
> Hey look at that, the interface already existed :-)
Yep, provided in commit e42ea986e4a4ca about 5 years ago ;)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists