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
This commit is contained in:
Maxim Konovalov 2002-09-17 11:20:02 +00:00
parent e079ba8d93
commit 1cf4349926
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103479

View file

@ -737,7 +737,8 @@ ip_input(struct mbuf *m)
goto bad;
}
m->m_flags |= M_FRAG;
}
} else
m->m_flags &= ~M_FRAG;
ip->ip_off <<= 3;
/*