diff options
author | phil.turnbull@oracle.com <phil.turnbull@oracle.com> | 2016-09-15 12:41:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-17 09:59:31 -0400 |
commit | 8ab86c00e349cef9fb14719093a7f198bcc72629 (patch) | |
tree | bf17b411a164736fca71a74b42b7067b25709bce /Documentation | |
parent | 20c64d5cd5a2bdcdc8982a06cb05e5e1bd851a3d (diff) |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions