cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and
synq_entry. TAILQ_ENTRY isn't always the same size as two pointers. Reported by: rmacklem@ MFC after: 3 days Sponsored by: Chelsio Communications
This commit is contained in:
parent
18041d4ec5
commit
843b264a85
@ -176,11 +176,11 @@ struct ddp_pcb {
|
||||
};
|
||||
|
||||
struct toepcb {
|
||||
TAILQ_ENTRY(toepcb) link; /* toep_list */
|
||||
u_int flags; /* miscellaneous flags */
|
||||
int refcount;
|
||||
struct tom_data *td;
|
||||
struct inpcb *inp; /* backpointer to host stack's PCB */
|
||||
u_int flags; /* miscellaneous flags */
|
||||
TAILQ_ENTRY(toepcb) link; /* toep_list */
|
||||
int refcount;
|
||||
struct vnet *vnet;
|
||||
struct vi_info *vi; /* virtual interface */
|
||||
struct sge_wrq *ofld_txq;
|
||||
|
Loading…
x
Reference in New Issue
Block a user