Small patch to multicast code...

gnn at freebsd.org gnn at freebsd.org
Fri Aug 29 19:17:30 UTC 2008


At Fri, 29 Aug 2008 18:28:53 +0200,
Luigi Rizzo wrote:
> 
> and to be more explicit - the result of m_pullup is that
> the number of bytes specified as m_pullup argument are in
> a private piece of memory -- the 'data' region within the mbuf -- so
> you can freely play with them without trouble.
> 
> That is why i suggested to just increase the argument to m_pullup
> by the size of the udp header so one can overwrite the checksum
> within the mbuf without touching the shared part in the cluster
> (if any).

I tried various versions of that, but then I noticed that I also had
to save out the pkthdr structure as well.  Did you come up with a
faster workable patch?

For now I'm going to commit the patch I sent originally.

Best,
George


More information about the freebsd-net mailing list