freebsd-dev/sys/dev/xen
Colin Percival c74415ed3b Skip setting the MTU in the netfront driver (xn# devices) if the new MTU
is the same as the old MTU.  In particular, on Amazon EC2 "T2" instances
without this change, the network interface is reinitialized every 30
minutes due to the MTU being (re)set when a new DHCP lease is obtained,
causing packets to be dropped, along with annoying syslog messages about
the link state changing.

As a side note, the behaviour this commit fixes was responsible for
exposing the locking problems fixed via r318523 and r318631.

Maintainers of other network interface drivers may wish to consider making
the corresponding change; the handling of SIOCSIFMTU does not seem to
exhibit a great deal of consistency between drivers.

MFC after:	1 week
2017-06-02 07:03:31 +00:00
..
balloon sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
blkback xen-blkback: fix error path on failed attach 2016-06-03 11:39:35 +00:00
blkfront xen/blkfront: correctly detach a disk with active users 2017-05-19 08:11:15 +00:00
console
control xenstore: fix suspension when using the xenstore device 2017-03-07 09:17:48 +00:00
debug
evtchn xen: fix IPI setup with EARLY_AP_STARTUP 2016-12-22 16:09:44 +00:00
gntdev Remove unneeded include of vm_phys.h. 2017-04-17 16:51:04 +00:00
grant_table sys/dev: extend use of the howmany() macro when available. 2016-04-26 15:03:15 +00:00
netback Don't initialize if_output to ether_output(), ether_ifattach() does it for 2017-03-24 01:23:07 +00:00
netfront Skip setting the MTU in the netfront driver (xn# devices) if the new MTU 2017-06-02 07:03:31 +00:00
pci Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). 2016-04-07 17:15:16 +00:00
pcifront Convert PCIe Hot Plug to using pci_request_feature 2017-02-25 06:11:59 +00:00
privcmd Remove unneeded include of vm_phys.h. 2017-04-17 16:51:04 +00:00
pvcpu
timer xen/timer: mark the Xen PV timer as not safe for suspension 2017-02-22 09:22:17 +00:00
xenpci
xenstore xenstore: fix suspension when using the xenstore device 2017-03-07 09:17:48 +00:00