diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-25 14:08:02 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-25 14:08:02 +0000 |
commit | 2830eb5a462209e20f30d7799a35d1c9d393e732 (patch) | |
tree | a9e539e49f71780109b34d00750ed94b7508ba87 /security/pf/files/extra-patch-pf::pf.c | |
parent | Fix build on -CURRENT. (diff) |
Supersedes ports/59442 and previous hasty-fix, and fixes the following:
- Build with __FreeBSD_version > 501114 (see bms commit)
- Build with new route.h (no RTF_PRCLONING)
- Don't use hardware assistance on framentation when DF is set.
- Allow pftcpdump -w to be used with pfsync.
Found-by: bento / Pyun YongHyeon
Submitted by: Max Laier
PR: ports/59548
Notes
Notes:
svn path=/head/; revision=94775
Diffstat (limited to 'security/pf/files/extra-patch-pf::pf.c')
-rw-r--r-- | security/pf/files/extra-patch-pf::pf.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/security/pf/files/extra-patch-pf::pf.c b/security/pf/files/extra-patch-pf::pf.c deleted file mode 100644 index 30be4db7683e..000000000000 --- a/security/pf/files/extra-patch-pf::pf.c +++ /dev/null @@ -1,22 +0,0 @@ -Update pf to be more in line with current TCP stack behaviour at -5.2 code freeze point after andre's initial commit to decouple -protocol-level stats from routing. -- bms@FreeBSD.org - ---- pf/pf.c.orig Wed Nov 19 11:51:34 2003 -+++ pf/pf.c Wed Nov 19 11:53:42 2003 -@@ -1376,14 +1376,10 @@ - */ - NTOHS(ip->ip_len); - NTOHS(ip->ip_off); -- ip_rtaddr(ip->ip_dst, &ro); - PF_UNLOCK(); -- ip_output(m, (void *)NULL, &ro, 0, (void *)NULL, -+ ip_output(m, (void *)NULL, (void *)NULL, 0, (void *)NULL, - (void *)NULL); - PF_LOCK(); -- if(ro.ro_rt) { -- RTFREE(ro.ro_rt); -- } - #else - ip_output(m, (void *)NULL, (void *)NULL, 0, (void *)NULL, - (void *)NULL); |