diff options
| author | Jason Wang <[email protected]> | 2014-12-24 11:03:52 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-12-30 18:53:20 -0500 |
| commit | 41f2f1273caee29ce9e2854c9aba996b56303b4a (patch) | |
| tree | eee0c03d8475947a8e1002abf175e2240f1cfd72 /tools/perf/scripts/python | |
| parent | dd450777990baae668c1143064f2f234dbab1b9b (diff) | |
virtio-net: don't do header check for dodgy gso packets
There's no need to do header check for virtio-net since:
- Host sets dodgy for all gso packets from guest and check the header.
- Host should be prepared for all kinds of evil packets from guest, since
malicious guest can send any kinds of packet.
So this patch sets NETIF_F_GSO_ROBUST for virtio-net to skip the check.
Cc: Rusty Russell <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions