lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 11 May 2014 00:39:50 +0400 From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com> To: Antonio Quartulli <antonio@...hcoding.com>, davem@...emloft.net CC: netdev@...r.kernel.org, b.a.t.m.a.n@...ts.open-mesh.org, Simon Wunderlich <simon@...n-mesh.com>, Marek Lindner <mareklindner@...mailbox.ch> Subject: Re: [PATCH 4/4] batman-adv: fix removing neigh_ifinfo Hello. On 05/10/2014 07:35 PM, Antonio Quartulli wrote: > From: Simon Wunderlich <simon@...n-mesh.com> > When an interface is removed separately, all neighbors need to be > checked if they have a neigh_ifinfo structure for that particular > interface. If that is the case, remove that ifinfo so any references to > a hard interface can be freed. > This is a regression introduced by > 89652331c00f43574515059ecbf262d26d885717 > ("batman-adv: split tq information in neigh_node struct") > Reported-by: Antonio Quartulli <antonio@...n-mesh.com> > Signed-off-by: Simon Wunderlich <simon@...n-mesh.com> > Signed-off-by: Marek Lindner <mareklindner@...mailbox.ch> > Signed-off-by: Antonio Quartulli <antonio@...hcoding.com> > --- > net/batman-adv/originator.c | 46 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c > index 8104c3c..427c07d 100644 > --- a/net/batman-adv/originator.c > +++ b/net/batman-adv/originator.c > @@ -707,6 +707,47 @@ free_orig_node: > } > > /** > + * batadv_purge_neigh_ifinfo - purge obsolete ifinfo entries from neighbor > + * @bat_priv: the bat priv with all the soft interface information > + * @neigh_node: orig node which is to be checked The corresponding parameter is called just 'neigh'. > + */ > +static void > +batadv_purge_neigh_ifinfo(struct batadv_priv *bat_priv, > + struct batadv_neigh_node *neigh) [...] WBR, Sergei -- 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