]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: check for valid tx_mode on SKBTX_HW_TSTAMP xmit
authorShannon Nelson <snelson@pensando.io>
Wed, 7 Apr 2021 23:19:56 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:18:49 +0000 (13:18 -0700)
commitd3d8fecdf1666214c8aa2dea15f85f4325a5bee0
tree4f3a0ed7cc537cda7cd9fe34b6234cb87cce556c
parenta0e97afb602d47665dcf135225f08b84bcdef6ea
ionic: check for valid tx_mode on SKBTX_HW_TSTAMP xmit

Make sure the device is in a Tx offload mode before calling the
hwstamp offload xmit.

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