linux/drivers/media/dvb-core
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
..
Kconfig
Makefile
demux.h [media] demux.h: fix a documentation warning 2016-09-09 09:23:32 -03:00
dmxdev.c [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dmxdev.h [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
dvb-usb-ids.h [media] az6027: Add support for Elgato EyeTV Sat v3 2016-05-06 15:53:23 -03:00
dvb_ca_en50221.c [media] dvb-core/en50221: use kref to manage struct dvb_ca_private 2016-07-13 15:45:29 -03:00
dvb_ca_en50221.h [media] dvb_ca_en50221.h: Make checkpatch.pl happy 2015-10-06 18:40:01 -03:00
dvb_demux.c [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dvb_demux.h [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dvb_filter.c
dvb_filter.h
dvb_frontend.c [media] dvb_frontend: Use memdup_user() rather than duplicating its implementation 2016-08-24 17:20:45 -03:00
dvb_frontend.h [media] doc-rst: add some needed escape codes 2016-07-23 08:05:02 -03:00
dvb_math.c
dvb_math.h [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
dvb_net.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
dvb_net.h [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
dvb_ringbuffer.c [media] media: dvb_ringbuffer: Add memory barriers 2016-07-09 07:57:47 -03:00
dvb_ringbuffer.h [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
dvbdev.c [media] media/dvb-core: forward media_create_pad_links() return value 2016-05-07 10:56:55 -03:00
dvbdev.h [media] mxl111sf: Add a tuner entity 2016-01-11 12:19:26 -02:00