commit | 2259fef0bb80a8fc842b5690b89a640464df2859 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Thu Oct 20 04:27:24 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 21 02:53:07 2011 -0400 |
tree | 47ea67b829da2e1596a28f32536cf83e9dfbf436 | |
parent | 047af9cfedfa357e1497e327eaa893253ca51971 [diff] |
macvtap: Don't leak unreceived packets when we delete a macvtap device. 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>