Applied the patch to fix HARP ATM that was broken when KAME IPv6 came
into FreeBSD. PR: kern/23620 Submitted by: rh@matriplex.com MFC after: 1 month
This commit is contained in:
parent
a4c30a870e
commit
5b0875108d
@ -98,7 +98,7 @@ typedef struct m_ext M_ext;
|
||||
* #define BUF1_SM_SIZE MAX(BUF1_SM_LEN - BUF1_SM_DOFF, 64)
|
||||
*
|
||||
*/
|
||||
#define BUF1_SM_DOFF ((BUF1_SM_HOFF + SIZEOF_Buf_handle) - BUF1_SM_HDR)
|
||||
#define BUF1_SM_DOFF (SIZEOF_Buf_handle)
|
||||
#define BUF1_SM_SIZE (BUF1_SM_LEN - BUF1_SM_DOFF)
|
||||
|
||||
#define BUF1_SM_QUELEN 16 /* Entries in supply queue */
|
||||
|
@ -445,6 +445,9 @@ fore_recv_drain(fup)
|
||||
/*
|
||||
* It looks like we've got a valid PDU - count it quick!!
|
||||
*/
|
||||
mhead->m_pkthdr.rcvif = NULL;
|
||||
mhead->m_pkthdr.csum_flags = 0;
|
||||
mhead->m_pkthdr.aux = NULL;
|
||||
KB_PLENSET(mhead, pdulen);
|
||||
fup->fu_pif.pif_ipdus++;
|
||||
fup->fu_pif.pif_ibytes += pdulen;
|
||||
|
Loading…
Reference in New Issue
Block a user