linux/drivers/staging
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
..
android staging: android: ion: fix checks found by checkpatch.pl 2016-10-02 16:58:29 +02:00
board staging: board: Remove calls to of_genpd_get_from_provider() 2016-09-13 02:49:33 +02:00
clocking-wizard
comedi Merge commit '2c563880ea' into work.xattr 2016-10-07 20:09:18 -04:00
dgnc staging: dgnc: Fix lines longer than 80 characters 2016-10-02 17:24:00 +02:00
emxx_udc staging: emxx_udc: add braces to if-else block 2016-09-16 10:10:34 +02:00
fbtft Staging: fbtft: Fix bug in fbtft-core 2016-10-02 19:51:05 +02:00
fsl-mc Staging/IIO patches for 4.9-rc1 2016-10-05 14:50:51 -07:00
fwserial staging: fwserial: fix checkpatch permission warnings 2016-09-13 15:44:46 +02:00
gdm724x staging: gdm724x: Remove unnecessary blank line 2016-09-16 10:10:34 +02:00
goldfish
greybus staging: greybus: light: check the correct value of delay_on 2016-10-02 15:49:26 +02:00
gs_fpgaboot staging: gs_fpgaboot: Remove FSF address from GPL notice 2016-09-16 10:10:34 +02:00
i4l staging: i4l: act2000: Move assignment out of if statement 2016-09-20 13:46:32 +02:00
iio Staging: iio: light: constify attribute_group structures 2016-09-27 13:03:57 +02:00
ks7010 Staging : ks7010 : Fix block comments warninig 2016-10-02 17:29:11 +02:00
lustre fs: use mapping_set_error instead of opencoded set_bit 2016-10-11 15:06:33 -07:00
media media updates for v4.9-rc1 2016-10-11 13:22:22 -07:00
most Staging: most: hdm-dim2: constify attribute_group structures 2016-10-02 17:24:00 +02:00
mt29f_spinand staging: mt29f_spinand: set ECC algorithm explicitly 2016-05-05 23:52:04 +02:00
netlogic Staging: netlogic: Remove unused function 2016-09-16 10:10:34 +02:00
nvec
octeon Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon Revert "staging: olpc_dcon: Replace a bit shift by a use of BIT." 2016-09-18 13:09:50 +02:00
rtl8188eu net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
rtl8192e net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
rtl8192u net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
rtl8712 staging: rtl8712: Change _LED_STATE enum in rtl871x driver to avoid conflicts with LED namespace 2016-09-28 11:36:45 +02:00
rts5208 Staging: rts5208: Fix indentation warnings 2016-10-02 17:14:03 +02:00
skein
slicoss net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
sm750fb staging: sm750fb: replace roundedDiv with DIV_ROUND_CLOSEST 2016-10-02 16:52:46 +02:00
speakup Staging: speakup: constify attribute_group structures 2016-10-02 17:14:03 +02:00
unisys staging: unisys: visorbus: fix typos with client_bus_info /sys entry 2016-09-28 11:30:52 +02:00
vc04_services staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00
vme drivers: staging: vme: convert to octal notation for permission bits 2016-09-17 23:36:53 +02:00
vt6655 Staging: vt6655: Remove explicit NULL comparison using Coccinelle 2016-10-02 17:29:11 +02:00
vt6656 staging: vt6656: Remove unused variable 'rx_sts' 2016-09-28 11:35:52 +02:00
wilc1000 staging: wilc1000: remove unnecessary braces 2016-10-02 17:19:51 +02:00
wlan-ng staging: wlang-ng: Fix block comments style warnings in hfa384x.h 2016-10-02 17:06:21 +02:00
xgifb staging: xgifb: Remove unused variable and if statement 2016-09-22 11:54:47 +02:00
Kconfig staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00
Makefile staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00