commit | ba84525bd9015e7dd20f7c97a2a96b0a238b0223 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jan 08 15:38:15 2012 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Feb 09 15:37:53 2012 +0000 |
tree | 1d1ff025ff9793cee4ae7e8bebec0837cff274fc | |
parent | 885767ca4ce0800c5d02eb66cc10a0494b7bf312 [diff] |
NET: sa11x0-ir: fix leak of tx skb Ensure that we unmap and free a pending transmit skb when the interface is stopped. We rearrange the code a little bit to give all places a similar layout when freeing the skb in both the completion and interface stop paths - this gives some consistency to the code. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>