search for: 296f96fcfc16

Displaying 2 results from an estimated 2 matches for "296f96fcfc16".

2023 Jan 14
2
[PATCH net-next 1/2] virtio_net: Fix short frame length check
...t frame defined by IEEE 802.3 is 60 bytes without > > > any preemble and CRC. > > > > > > Current code only checks for minimal 14 bytes of Ethernet header length. > > > Correct it to consider the minimum Ethernet frame length. > > > > > > Fixes: 296f96fcfc16 ("Net driver using virtio") > > > Signed-off-by: Parav Pandit <parav at nvidia.com> > > > --- > > > drivers/net/virtio_net.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/net/virtio...
2023 Jan 13
3
[PATCH net-next 0/2] Small packet processing handling changes
Hi, These two changes improve the small packet handling. Patch summary: patch-1 fixes the length check by considering Ethernet 60B frame size patch-2 avoids code duplication by reuses existing buffer free helper Please review. Parav Pandit (2): virtio_net: Fix short frame length check virtio_net: Reuse buffer free function drivers/net/virtio_net.c | 10 ++-------- 1 file changed, 2