commit | 0d7eacbe637952fc737a968bc16db1f2ccbbe71c | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Tue Jul 19 11:02:59 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 18 22:11:22 2016 -0700 |
tree | bae9ec84351a22aafda64962dd5ef90659cee9f2 | |
parent | 2186f6eec2739ecd3944f9278e59edf0474f207c [diff] |
macvtap: correctly free skb during socket destruction We should use kfree_skb() instead of kfree() to free an skb. Fixes: 362899b8725b ("macvtap: switch to use skb array") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>