]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ethernet-use-core-min-max-mtu'
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 15:34:22 +0000 (11:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 15:34:22 +0000 (11:34 -0400)
commit7136ce8051944af16842b4c5596b3a561b19190b
tree97dff06ab97f91387a88de2dfb3c6d959609d321
parent46028e91eb5c7d1508e8ec058484ef80fa70f7e4
parentce66ceb1c7cfdfbfa91d2b30f42a16338666341e
Merge branch 'ethernet-use-core-min-max-mtu'

Jarod Wilson says:

====================
ethernet: use core min/max MTU checking

Now that the network stack core min/max MTU checking infrastructure is in
place, time to start making drivers use it. We'll start with the easiest
ones, the ethernet drivers, split roughly by vendor, with a catch-all
patch at the end.

For the most part, every patch does the same essential thing: removes the
MTU range checking from the drivers' ndo_change_mtu function, puts those
ranges into the core net_device min_mtu and max_mtu fields, and where
possible, removes ndo_change_mtu functions entirely.

These patches have all been built through the 0-day build infrastructure
provided by Intel, on top of net-next as of October 17.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>