Author: kevlo
Date: Fri Jun 6 11:12:19 2014
New Revision: 267152
URL: http://svnweb.freebsd.org/changeset/base/267152
Log:
Replace deprecated M_DONTWAIT with M_NOWAIT.
Reviewed by: jfv
Modified:
head/sys/dev/i40e/i40e_txrx.c
Modified: head/sys/dev/i40e/i40e_txrx.c
==============================================================================
--- head/sys/dev/i40e/i40e_txrx.c Fri Jun 6 10:50:14 2014
(r267151)
+++ head/sys/dev/i40e/i40e_txrx.c Fri Jun 6 11:12:19 2014
(r267152)
@@ -210,7 +210,7 @@ i40e_xmit(struct i40e_queue *que, struct
if (error == EFBIG) {
struct mbuf *m;
- m = m_defrag(*m_headp, M_DONTWAIT);
+ m = m_defrag(*m_headp, M_NOWAIT);
if (m == NULL) {
que->mbuf_defrag_failed++;
m_freem(*m_headp);
@@ -834,7 +834,7 @@ i40e_refresh_mbufs(struct i40e_queue *qu
goto no_split;
if (buf->m_head == NULL) {
- mh = m_gethdr(M_DONTWAIT, MT_DATA);
+ mh = m_gethdr(M_NOWAIT, MT_DATA);
if (mh == NULL)
goto update;
} else
@@ -861,7 +861,7 @@ i40e_refresh_mbufs(struct i40e_queue *qu
no_split:
if (buf->m_pack == NULL) {
- mp = m_getjcl(M_DONTWAIT, MT_DATA,
+ mp = m_getjcl(M_NOWAIT, MT_DATA,
M_PKTHDR, rxr->mbuf_sz);
if (mp == NULL)
goto update;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"