net/bnxt: fix null termination of Rx mbuf chain
authorLance Richardson <lance.richardson@broadcom.com>
Fri, 22 Jan 2021 21:49:00 +0000 (16:49 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commitc711cc2a982d8849ab7ba2582b41c5a4ba5510ee
tree131e5d9334d445c2777a35b2a5802b5619c3164b
parentb57927702a58685e46d87960aba25a7b1fa0279e
net/bnxt: fix null termination of Rx mbuf chain

The last mbuf in a multi-segment packet needs to be
NULL-terminated.

Fixes: 0958d8b6435d ("net/bnxt: support LRO")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c