selftests: add few test cases for tap driver
Few test cases related to the fix for 924a9bc3: "net: check if protocol extracted by virtio_net_hdr_set_proto is correct" Need test for the case when a non-standard packet (GSO without NEEDS_CSUM) sent to the tap device causes a BUG check in the tap driver. Signed-off-by: NCezar Bulinaru <cbulinaru@gmail.com> Reviewed-by: NWillem de Bruijn <willemb@google.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
tools/testing/selftests/net/tap.c
0 → 100644
想要评论请 注册 或 登录