Re: [PATCH net-next v2 3/5] virtio_net: Do not clear memory for struct virtio_net_hdr twice.

2016-11-19 Thread David Miller
From: Jarno Rajahalme Date: Fri, 18 Nov 2016 15:40:40 -0800 > 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 Applied.

[PATCH net-next v2 3/5] virtio_net: Do not clear memory for struct virtio_net_hdr twice.

2016-11-18 Thread Jarno Rajahalme
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 --- drivers/net/tun.c | 3 +-- include/linux/virtio_net.h | 2 +- net/packet/af_packet.c | 2 -- 3 files changed, 2