Re: [B.A.T.M.A.N.] [PATCH v2 1/4] batman-adv: Keep hard interface neighbor list sorted

2017-01-28 Thread Sven Eckelmann
On Samstag, 28. Januar 2017 04:40:50 CET Linus Lüssing wrote: [...] > Ok, found bug.h is needed for WARN_ON() in the third patch. The > device.h addition and err.h removal still leave me clueless > though. Looks like an copy + paste error in testhelpers/kernel_mappings.iwyu [1]. Your version was

Re: [B.A.T.M.A.N.] [PATCH v2 1/4] batman-adv: Keep hard interface neighbor list sorted

2017-01-27 Thread Linus Lüssing
On Sat, Jan 28, 2017 at 04:13:11AM +0100, Linus Lüssing wrote: > On Wed, Dec 14, 2016 at 08:23:19PM +0100, Sven Eckelmann wrote: > > diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c > > index 712bd428..a69614f5 100644 > > --- a/net/batman-adv/bat_v_elp.c > > +++

Re: [B.A.T.M.A.N.] [PATCH v2 1/4] batman-adv: Keep hard interface neighbor list sorted

2017-01-27 Thread Linus Lüssing
On Wed, Dec 14, 2016 at 08:23:19PM +0100, Sven Eckelmann wrote: > diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c > index 712bd428..a69614f5 100644 > --- a/net/batman-adv/bat_v_elp.c > +++ b/net/batman-adv/bat_v_elp.c > @@ -19,10 +19,10 @@ > #include

Re: [B.A.T.M.A.N.] [PATCH v2 1/4] batman-adv: Keep hard interface neighbor list sorted

2016-12-14 Thread Sven Eckelmann
On Mittwoch, 14. Dezember 2016 19:48:19 CET Sven Eckelmann wrote: > On Donnerstag, 6. Oktober 2016 08:41:38 CET Linus Lüssing wrote: > > + hlist_add_behind_rcu(_neigh->list, _neigh->list); > > Compat code is missing for this function > > ecsv/pu: sparse linux-3.16 cfg: BLA=n DAT=n

Re: [B.A.T.M.A.N.] [PATCH v2 1/4] batman-adv: Keep hard interface neighbor list sorted

2016-12-14 Thread Sven Eckelmann
On Donnerstag, 6. Oktober 2016 08:41:38 CET Linus Lüssing wrote: > + hlist_add_behind_rcu(_neigh->list, _neigh->list); Compat code is missing for this function ecsv/pu: sparse linux-3.16 cfg: BLA=n DAT=n DEBUGFS=y DEBUG=y NC=n MCAST=n BATMAN_V=y

[B.A.T.M.A.N.] [PATCH v2 1/4] batman-adv: Keep hard interface neighbor list sorted

2016-10-06 Thread Linus Lüssing
The upcoming neighborhood hashing will compute a hash over the MAC address of all neighbors on an interface, from the smallest to the largest one. This patch keeps the hard interface neighbor list in order to ease the hash computation later. Signed-off-by: Linus Lüssing