diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-11-18 15:40:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-19 10:37:03 -0500 |
commit | 9403cd7cbb08aa3709c632decafa2014c8ed96e6 (patch) | |
tree | d15f6f474b928920f7969793fdde233ad187ffac /net/packet/diag.c | |
parent | d66016a77757b004b8637f44d87bedfc4a47b89c (diff) | |
download | linux-9403cd7cbb08aa3709c632decafa2014c8ed96e6.tar.bz2 |
virtio_net: Do not clear memory for struct virtio_net_hdr twice.
virtio_net_hdr_from_skb() clears the memory for the header, so there
is no point for the callers to do the same.
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/diag.c')
0 files changed, 0 insertions, 0 deletions