summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.h
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2009-04-16 22:47:43 +0000
committerkmacy <kmacy@FreeBSD.org>2009-04-16 22:47:43 +0000
commitf35899195a21305052f137d1b95e2e56cfc429a4 (patch)
tree6b6ca961e4577bb78b9d9ba0dba643344bca8720 /sys/netinet/in_pcb.h
parentb371e11fe6e7db4d29c16837d494efca4897ff9c (diff)
downloadFreeBSD-src-f35899195a21305052f137d1b95e2e56cfc429a4.zip
FreeBSD-src-f35899195a21305052f137d1b95e2e56cfc429a4.tar.gz
restore spare pointers for MFCing
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r--sys/netinet/in_pcb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index 2a45604..2dd609b 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -170,8 +170,7 @@ struct inpcb {
u_char inp_ip_minttl; /* (i) minimum TTL or drop */
uint32_t inp_flowid; /* (x) flow id / queue id */
u_int inp_refcount; /* (i) refcount */
- struct llentry *inp_lle; /* cached L2 information */
- struct rtentry *inp_rt; /* cached L3 information */
+ void inp_pspare[2]; /* (x) rtentry / general use */
/* Local and foreign ports, local and foreign addr. */
struct in_conninfo inp_inc; /* (i/p) list for PCB's local port */
@@ -203,6 +202,8 @@ struct inpcb {
struct inpcbport *inp_phd; /* (i/p) head of this list */
#define inp_zero_size offsetof(struct inpcb, inp_gencnt)
inp_gen_t inp_gencnt; /* (c) generation count */
+ struct llentry *inp_lle; /* cached L2 information */
+ struct rtentry *inp_rt; /* cached L3 information */
struct rwlock inp_lock;
};
#define inp_fport inp_inc.inc_fport
OpenPOWER on IntegriCloud