Page MenuHomeFreeBSD

D33085.diff
No OneTemporary

D33085.diff

diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -4946,7 +4946,6 @@
int copyback = 0;
int action;
struct pf_state_peer *src, *dst;
- struct pf_state_key *sk;
bzero(&key, sizeof(key));
key.af = pd->af;
@@ -4973,8 +4972,6 @@
dst = &(*state)->src;
}
- sk = (*state)->key[pd->didx];
-
if ((action = pf_synproxy(pd, state, reason)) != PF_PASS)
return (action);
diff --git a/sys/netpfil/pf/pf_norm.c b/sys/netpfil/pf/pf_norm.c
--- a/sys/netpfil/pf/pf_norm.c
+++ b/sys/netpfil/pf/pf_norm.c
@@ -1031,7 +1031,6 @@
u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
u_int16_t max;
int ip_len;
- int ip_off;
int tag = -1;
int verdict;
@@ -1104,7 +1103,6 @@
}
ip_len = ntohs(h->ip_len) - hlen;
- ip_off = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
/* All fragments are 8 byte aligned */
if (mff && (ip_len & 0x7)) {

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 17, 12:05 PM (20 h, 25 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15838487
Default Alt Text
D33085.diff (940 B)

Event Timeline