[B.A.T.M.A.N.] [PATCH maint] batman-adv: fix reference counting imbalance while sending fragment

Marek Lindner mareklindner at neomailbox.ch
Fri May 2 07:15:52 CEST 2014


On Wednesday 23 April 2014 09:40:05 martin at hundeboll.net wrote:
> On 2014-04-23 05:05, Antonio Quartulli wrote:
> > From: Antonio Quartulli <antonio at open-mesh.com>
> >
> > In the new fragmentation code the batadv_frag_send_packet()
> > function obtains a reference to the primary_if, but it does
> > not release it upon return.
> >
> > This reference imbalance prevents the primary_if (and then
> > the related netdevice) to be properly released on shut down.
> >
> > Fix this by releasing the primary_if in batadv_frag_send_packet().
> >
> > Introduced by db56e4ecf5c2b179a0101138eacc2ec52b6ef45d
> > ("batman-adv: Fragment and send skbs larger than mtu")
> >
> > Cc: Martin Hundebøll <martin at hundeboll.net>
> > Signed-off-by: Antonio Quartulli <antonio at open-mesh.com>
> 
> Acked-by: Martin Hundebøll <martin at hundeboll.net>

Applied in revision 113f264.

Thanks,
Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20140502/fef15395/attachment.sig>


More information about the B.A.T.M.A.N mailing list