summaryrefslogtreecommitdiff
path: root/sys/net/pf_lb.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-02-12 02:13:16 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-02-12 02:13:16 +0000
commit922a2c5cb32a2e9e2113325186745a11e2d6fb89 (patch)
treeb9a4b5bae9e9a1990669dfd4309187f178e6688a /sys/net/pf_lb.c
parent34d7bd5d3750a21f3205ea6bdaf52dc4d072cab1 (diff)
revert pf.c r1.629 (which moved to this file) which was causing
"panic: pool_do_get(pfstatekeypl): free list modified" discussed with many. ok dlg
Diffstat (limited to 'sys/net/pf_lb.c')
-rw-r--r--sys/net/pf_lb.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c
index e1faa696b83..0ddc950e9f6 100644
--- a/sys/net/pf_lb.c
+++ b/sys/net/pf_lb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_lb.c,v 1.1 2009/01/29 15:12:28 pyr Exp $ */
+/* $OpenBSD: pf_lb.c,v 1.2 2009/02/12 02:13:15 sthen Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -678,15 +678,6 @@ pf_get_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction,
default:
return (NULL);
}
- /*
- * Translation was a NOP.
- * Undo separate NAT key and pretend there was no match.
- */
- if (!bcmp(*skp, *nkp, sizeof(struct pf_state_key_cmp))) {
- pool_put(&pf_state_key_pl, *nkp);
- *skw = *sks = *nkp = *skp;
- return (NULL);
- }
}
return (r);