projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mbuf leak in smallest way, check in for 4.3 betas
[unix-history]
/
usr
/
src
/
sys
/
netns
/
spp_usrreq.c
diff --git
a/usr/src/sys/netns/spp_usrreq.c
b/usr/src/sys/netns/spp_usrreq.c
index
67d213b
..
10ce88b
100644
(file)
--- a/
usr/src/sys/netns/spp_usrreq.c
+++ b/
usr/src/sys/netns/spp_usrreq.c
@@
-3,7
+3,7
@@
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)spp_usrreq.c 6.
3
(Berkeley) %G%
+ * @(#)spp_usrreq.c 6.
4
(Berkeley) %G%
*/
#include "param.h"
*/
#include "param.h"
@@
-264,8
+264,10
@@
register struct spidp *si;
* If this is a system packet, we don't need to
* queue it up, and won't update acknowledge #
*/
* If this is a system packet, we don't need to
* queue it up, and won't update acknowledge #
*/
- if (si->si_cc & SP_SP)
+ if (si->si_cc & SP_SP) {
+ m_freem(dtom(si));
return (0);
return (0);
+ }
/*
* If this packet number has a sequence number less
/*
* If this packet number has a sequence number less