diff options
author | glebius <glebius@FreeBSD.org> | 2011-11-30 08:47:17 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-11-30 08:47:17 +0000 |
commit | 980901bba24db9c422f910dc6c502e552b3717da (patch) | |
tree | 2e8d376a47c60941c034ac9d614575af465ec714 /sys/contrib | |
parent | dbe3a729992a60367afdb18fcc431c0b96cc2b8b (diff) | |
download | FreeBSD-src-980901bba24db9c422f910dc6c502e552b3717da.zip FreeBSD-src-980901bba24db9c422f910dc6c502e552b3717da.tar.gz |
Return value should be conditional on return value of pfsync_defer_ptr()
PR: kern/162947
Submitted by: Matthieu Kraus <matthieu.kraus s2008.tu-chemnitz.de>
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/pf/net/pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/pf/net/pf.c b/sys/contrib/pf/net/pf.c index f8fc086..20e268f 100644 --- a/sys/contrib/pf/net/pf.c +++ b/sys/contrib/pf/net/pf.c @@ -3770,8 +3770,8 @@ pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, * replies through it. */ #ifdef __FreeBSD__ - if (pfsync_defer_ptr != NULL) - pfsync_defer_ptr(*sm, m); + if (pfsync_defer_ptr != NULL && + pfsync_defer_ptr(*sm, m)) #else if (pfsync_defer(*sm, m)) #endif |