diff options
author | maxim <maxim@FreeBSD.org> | 2002-09-17 11:20:02 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2002-09-17 11:20:02 +0000 |
commit | a841b9cf18337bfb92809c1549245fe8ff63ce31 (patch) | |
tree | 0d7777cd26eb878b43f03c60df9f1387c11613ad | |
parent | 55d1f6389083fc3bf1e5d13143c42bf75897ee94 (diff) | |
download | FreeBSD-src-a841b9cf18337bfb92809c1549245fe8ff63ce31.zip FreeBSD-src-a841b9cf18337bfb92809c1549245fe8ff63ce31.tar.gz |
Explicitly clear M_FRAG flag on a mbuf with the last fragment to unbreak
ip fragments reassembling for loopback interface.
Discussed with: bde, jlemon
Reviewed by: silence on -net
MFC after: 2 weeks
-rw-r--r-- | sys/netinet/ip_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 7dae1d0..a8aecfb 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -737,7 +737,8 @@ found: goto bad; } m->m_flags |= M_FRAG; - } + } else + m->m_flags &= ~M_FRAG; ip->ip_off <<= 3; /* |