net/sfc: fix crash in EF10 TSO if no payload
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Wed, 23 Jan 2019 13:08:55 +0000 (13:08 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 24 Jan 2019 09:08:31 +0000 (10:08 +0100)
commitc2303617e664d5af3e5aac143d407f0474d5d7c0
tree6a81ed6d6a32483cfbaee856f51c4e5d2c3c1e2b
parent91c7b92061e6f1c764f54e5510908010f63033f9
net/sfc: fix crash in EF10 TSO if no payload

Fixes: 6bc985e41155 ("net/sfc: support TSO in EF10 Tx datapath")
Cc: stable@dpdk.org
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_ef10_tx.c