linux/drivers/staging/rtl8192u
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
..
ieee80211 staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible 2016-09-23 19:00:44 +02:00
authors
changes
copying
Kconfig
Makefile
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c
r819xU_firmware.h
r819xU_phy.c
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c staging: rtl8192u: propagate errors in eprom_read 2016-06-18 19:49:02 -07:00
r8180_93cx6.h staging: rtl8192u: propagate errors in eprom_read 2016-06-18 19:49:02 -07:00
r8190_rtl8256.c
r8190_rtl8256.h
r8192U_core.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
r8192U_dm.c Staging: rtl8192u: Remove useless type conversion 2016-09-20 13:35:45 +02:00
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c rtl8192u: r8192_priv: Replace semaphore wx_sem with mutex 2016-06-18 19:50:48 -07:00
r8192U_wx.h
r8192U.h staging/rtl8192u: use s8 instead of char 2016-08-21 18:21:28 +02:00