macvtap: Don't leak unreceived packets when we delete a macvtap device.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 20 Oct 2011 04:27:24 +0000 (04:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Oct 2011 06:53:07 +0000 (02:53 -0400)
To avoid leaking packets in the receive queue.  Add a socket destructor
that will run whenever destroy a macvtap socket.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found