NET: sa11x0-ir: fix leak of tx skb
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Jan 2012 15:38:15 +0000 (15:38 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:37:53 +0000 (15:37 +0000)
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>

No differences found