svn commit: r243111 - user/np/stable_9_toe/sys/dev/cxgbe/tom
Navdeep Parhar
np at FreeBSD.org
Fri Nov 16 00:23:23 UTC 2012
Author: np
Date: Fri Nov 16 00:23:23 2012
New Revision: 243111
URL: http://svnweb.freebsd.org/changeset/base/243111
Log:
Pull in mbuf leak fix from head (r243110).
Modified:
user/np/stable_9_toe/sys/dev/cxgbe/tom/t4_listen.c
Directory Properties:
user/np/stable_9_toe/sys/ (props changed)
user/np/stable_9_toe/sys/dev/ (props changed)
Modified: user/np/stable_9_toe/sys/dev/cxgbe/tom/t4_listen.c
==============================================================================
--- user/np/stable_9_toe/sys/dev/cxgbe/tom/t4_listen.c Fri Nov 16 00:21:54 2012 (r243110)
+++ user/np/stable_9_toe/sys/dev/cxgbe/tom/t4_listen.c Fri Nov 16 00:23:23 2012 (r243111)
@@ -559,8 +559,10 @@ t4_syncache_respond(struct toedev *tod,
struct tcphdr *th = (void *)(ip + 1);
wr = (struct wrqe *)atomic_readandclear_ptr(&synqe->wr);
- if (wr == NULL)
+ if (wr == NULL) {
+ m_freem(m);
return (EALREADY);
+ }
bzero(&to, sizeof(to));
tcp_dooptions(&to, (void *)(th + 1), (th->th_off << 2) - sizeof(*th),
More information about the svn-src-user
mailing list