summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2015-08-04 03:43:09 +0000
committernp <np@FreeBSD.org>2015-08-04 03:43:09 +0000
commit79c68b3bae787ed4e791c7378acfadfa8e9a7968 (patch)
treee84803e0d2e394eae598784e7c28759d5b4a1b04
parentb95618ed49070fcfab4888d62a67d1c516e52c1a (diff)
downloadFreeBSD-src-79c68b3bae787ed4e791c7378acfadfa8e9a7968.zip
FreeBSD-src-79c68b3bae787ed4e791c7378acfadfa8e9a7968.tar.gz
MFC r284718:
cxgbe: get_fl_payload returns a header mbuf when successful.
-rw-r--r--sys/dev/cxgbe/t4_sge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c
index 0ac6b1f..a704a8d 100644
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -1725,6 +1725,7 @@ get_segment:
}
*pnext = NULL;
+ M_ASSERTPKTHDR(m0);
return (m0);
}
OpenPOWER on IntegriCloud