summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorphil.turnbull@oracle.com <phil.turnbull@oracle.com>2016-09-15 12:41:44 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-17 09:59:31 -0400
commit8ab86c00e349cef9fb14719093a7f198bcc72629 (patch)
treebf17b411a164736fca71a74b42b7067b25709bce /include
parent20c64d5cd5a2bdcdc8982a06cb05e5e1bd851a3d (diff)
downloadlinux-0-day-8ab86c00e349cef9fb14719093a7f198bcc72629.tar.gz
linux-0-day-8ab86c00e349cef9fb14719093a7f198bcc72629.tar.xz
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: c3ea9fa27413 ("[IrDA] af_irda: IRDA_ASSERT cleanups") Signed-off-by: Phil Turnbull <phil.turnbull@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions