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
blkback
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
gntdev Remove unneeded include of vm_phys.h. 2017-04-17 16:51:04 +00:00
grant_table
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
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
xenpci
xenstore xenstore: fix suspension when using the xenstore device 2017-03-07 09:17:48 +00:00