OpenCloudOS-Kernel/drivers/net/xen-netback
Mohammed Gamal e1043a4bb9 xen-netfront, xen-netback: Use correct minimum MTU values
RFC791 specifies the minimum MTU to be 68, while xen-net{front|back}
drivers use a minimum value of 0.

When set MTU to 0~67 with xen_net{front|back} driver, the network
will become unreachable immediately, the guest can no longer be pinged.

xen_net{front|back} should not allow the user to set this value which causes
network problems.

Reported-by: Chen Shi <cheshi@redhat.com>
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
2017-10-16 16:00:44 -04:00
..
Makefile xen-netback: separate guest side rx code into separate module 2016-10-06 20:37:35 -04:00
common.h xen-netback: correctly schedule rate-limited queues 2017-06-22 11:15:42 -04:00
hash.c xen-netback: Use GFP_ATOMIC to allocate hash 2017-03-02 14:44:22 -08:00
interface.c xen-netfront, xen-netback: Use correct minimum MTU values 2017-10-16 16:00:44 -04:00
netback.c xen-netback: correctly schedule rate-limited queues 2017-06-22 11:15:42 -04:00
rx.c xen-netback: fix type mismatch warning 2016-10-13 11:02:25 -04:00
xenbus.c xen-netback: fix race condition on XenBus disconnect 2017-03-12 23:44:43 -07:00