linux/drivers/net/wan
Jarod Wilson a52ad514fd net: deprecate eth_change_mtu, remove usage
With centralized MTU checking, there's nothing productive done by
eth_change_mtu that isn't already done in dev_set_mtu, so mark it as
deprecated and remove all usage of it in the kernel. All callers have been
audited for calls to alloc_etherdev* or ether_setup directly, which means
they all have a valid dev->min_mtu and dev->max_mtu. Now eth_change_mtu
prints out a netdev_warn about being deprecated, for the benefit of
out-of-tree drivers that might be utilizing it.

Of note, dvb_net.c actually had dev->mtu = 4096, while using
eth_change_mtu, meaning that if you ever tried changing it's mtu, you
couldn't set it above 1500 anymore. It's now getting dev->max_mtu also set
to 4096 to remedy that.

v2: fix up lantiq_etop, missed breakage due to drive not compiling on x86

CC: netdev@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-13 09:36:57 -04:00
..
lmc treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
.gitignore
c101.c
cosa.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
cosa.h
dlci.c net: Pass a "more" indication down into netdev_start_xmit() code paths. 2014-09-01 17:39:55 -07:00
dscc4.c dscc4: Undefined signed int shift 2016-02-13 06:10:21 -05:00
farsync.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
farsync.h
fsl_ucc_hdlc.c wan/fsl_ucc_hdlc: Fix size used in dma_free_coherent() 2016-10-08 00:04:48 -04:00
fsl_ucc_hdlc.h drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_ 2016-06-08 11:07:17 -07:00
hd64570.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
hd64570.h
hd64572.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
hd64572.h
hdlc_cisco.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hdlc_fr.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hdlc_ppp.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hdlc_raw_eth.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hdlc_raw.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hdlc_x25.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hdlc.c WAN: HDLC: Call notifiers before and after changing device type 2015-12-05 17:41:42 -05:00
hostess_sv11.c
ixp4xx_hss.c
Kconfig Maxim/driver: Add driver for maxim ds26522 2016-06-29 04:05:14 -04:00
lapbether.c netfilter: Remove spurios included of netfilter.h 2015-06-18 21:14:32 +02:00
Makefile Maxim/driver: Add driver for maxim ds26522 2016-06-29 04:05:14 -04:00
n2.c
pc300too.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
pci200syn.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
sbni.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
sbni.h
sdla.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
sealevel.c
slic_ds26522.c Maxim/driver: Add driver for maxim ds26522 2016-06-29 04:05:14 -04:00
slic_ds26522.h Maxim/driver: Add driver for maxim ds26522 2016-06-29 04:05:14 -04:00
wanxl.c wan: wanxl: add pci_disable_device in case of error 2015-12-14 16:21:58 -05:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c x25_asy: Free x25_asy on x25_asy_open() failure. 2016-01-13 11:45:39 -05:00
x25_asy.h
z85230.c Doc: z8530book: Fix typo in API-z8530-sync-txdma-open.html 2015-07-10 23:45:31 -07:00
z85230.h