]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tuntap: purge socket error queue on detach
authorJason Wang <jasowang@redhat.com>
Thu, 5 Sep 2013 09:53:59 +0000 (17:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 16:44:31 +0000 (12:44 -0400)
commit4bfb0513ff203a700f5d17b97b772e8c171549bc
tree45afe486e61b2f23f6b32674087e9802a8ab06b6
parentdf95fc44c09f4c33e1d453674487a78f2779ba23
tuntap: purge socket error queue on detach

Commit eda297729171fe16bf34fe5b0419dfb69060f623
(tun: Support software transmit time stamping) will queue skbs into error queue
when tx stamping is enabled. But it forgets to purge the error queue during
detach. This patch fixes this.

Cc: Richard Cochran <richardcochran@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c