Commit bc16efd
ch_ktls: fix device connection close
When sge queue is full and chcr_ktls_xmit_wr_complete()
returns failure, skb is not freed if it is not the last tls record in
this skb, causes refcount never gets freed and tls_dev_del()
never gets called on this connection.
Fixes: 5a4b9fe ("cxgb4/chcr: complete record tx handling")
Signed-off-by: Vinay Kumar Yadav <[email protected]>
Signed-off-by: Rohit Maheshwari <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 1a73e42 commit bc16efd
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
| 1738 | + | |
1738 | 1739 | | |
| 1740 | + | |
1739 | 1741 | | |
1740 | 1742 | | |
1741 | 1743 | | |
| |||
1758 | 1760 | | |
1759 | 1761 | | |
1760 | 1762 | | |
| 1763 | + | |
| 1764 | + | |
1761 | 1765 | | |
1762 | 1766 | | |
1763 | 1767 | | |
| |||
1769 | 1773 | | |
1770 | 1774 | | |
1771 | 1775 | | |
| 1776 | + | |
| 1777 | + | |
1772 | 1778 | | |
1773 | 1779 | | |
1774 | 1780 | | |
| |||
0 commit comments