Skip to content
Commit 9403cd7c authored by Jarno Rajahalme's avatar Jarno Rajahalme Committed by David S. Miller
Browse files

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: default avatarJarno Rajahalme <jarno@ovn.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d66016a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment