mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Properly fragment multicast packets.
PR: 7802 Submitted by: Steve McCanne <mccanne@cs.berkeley.edu>
This commit is contained in:
parent
cb997c9220
commit
db028362a0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38754
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
|
||||
* $Id: ip_output.c,v 1.80 1998/08/01 08:44:33 peter Exp $
|
||||
* $Id: ip_output.c,v 1.81 1998/08/23 03:07:14 wollman Exp $
|
||||
*/
|
||||
|
||||
#define _IP_VHL
|
||||
@ -580,6 +580,7 @@ ip_output(m0, opt, ro, flags, imo)
|
||||
ipstat.ips_odropped++;
|
||||
goto sendorfree;
|
||||
}
|
||||
m->m_flags |= (m0->m_flags & M_MCAST);
|
||||
m->m_data += max_linkhdr;
|
||||
mhip = mtod(m, struct ip *);
|
||||
*mhip = *ip;
|
||||
|
Loading…
Reference in New Issue
Block a user