]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: set MTU floor at ETH_MIN_MTU
authorShannon Nelson <snelson@pensando.io>
Thu, 27 Aug 2020 23:00:19 +0000 (16:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 15:01:29 +0000 (08:01 -0700)
commitcbbf50ac61fe15397c89d340b2a96276c0eb72fb
tree076da95864741d683cd318b40e9070450531a43a
parentf7b71e4de5ebf87187402f65f9b7571bf92a7adb
ionic: set MTU floor at ETH_MIN_MTU

The NIC might tell us its minimum MTU, but let's be sure not
to use something smaller than ETH_MIN_MTU.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c