[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTi=DnD9eMiP_+H491T0ejXjYWAmBow@mail.gmail.com>
Date: Sun, 22 May 2011 23:35:03 +0200
From: Sjur Brændeland <sjurbren@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: CAIF transmit bug
Hi Dave,
> net/caif/cfctrl.c:cfctrl_enum_req() does not check the return value of
> the ->transmit() method.
>
> The documentation for this method states that one error, ownership
> of the packet is transferred back to the caller, which means that we
> have a leak here.
>
> Please fix this bug.
The documentation was unfortunately outdated.
I just sent a patch-set including a fix for this.
Thank you for reviewing this.
Regards,
Sjur
--
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