Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8ab86c00 authored by phil.turnbull@oracle.com's avatar phil.turnbull@oracle.com Committed by David S. Miller
Browse files

irda: Free skb on irda_accept error path.



skb is not freed if newsk is NULL. Rework the error path so free_skb is
unconditionally called on function exit.

Fixes: c3ea9fa2 ("[IrDA] af_irda: IRDA_ASSERT cleanups")
Signed-off-by: default avatarPhil Turnbull <phil.turnbull@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 20c64d5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment