Clarify some comments for the M_FASTFWD_OURS case in ip_input().
This commit is contained in:
parent
e098266191
commit
76ff6dcf46
@ -301,11 +301,11 @@ ip_input(struct mbuf *m)
|
|||||||
|
|
||||||
if (m->m_flags & M_FASTFWD_OURS) {
|
if (m->m_flags & M_FASTFWD_OURS) {
|
||||||
/*
|
/*
|
||||||
* ip_fastforward firewall changed dest to local.
|
* Firewall or NAT changed destination to local.
|
||||||
* We expect ip_len and ip_off in host byte order.
|
* We expect ip_len and ip_off to be in host byte order.
|
||||||
*/
|
*/
|
||||||
m->m_flags &= ~M_FASTFWD_OURS; /* for reflected mbufs */
|
m->m_flags &= ~M_FASTFWD_OURS;
|
||||||
/* Set up some basic stuff */
|
/* Set up some basics that will be used later. */
|
||||||
ip = mtod(m, struct ip *);
|
ip = mtod(m, struct ip *);
|
||||||
hlen = ip->ip_hl << 2;
|
hlen = ip->ip_hl << 2;
|
||||||
goto ours;
|
goto ours;
|
||||||
|
Loading…
Reference in New Issue
Block a user