Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2008 15:16:58 -0400
From:      gnn@freebsd.org
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, Sam Leffler <sam@freebsd.org>, net@freebsd.org
Subject:   Re: Small patch to multicast code...
Message-ID:  <m28wuffx79.wl%gnn@neville-neil.com>
In-Reply-To: <20080829162853.GB46693@onelab2.iet.unipi.it>
References:  <48AF08B7.4090804@FreeBSD.org> <m2fxowhgq8.wl%gnn@neville-neil.com> <48AF330B.4010802@FreeBSD.org> <m28wuohfm5.wl%gnn@neville-neil.com> <20080825190207.GA73478@zibbi.meraka.csir.co.za> <20080825194038.GA75840@zibbi.meraka.csir.co.za> <m2y72jx33z.wl%gnn@neville-neil.com> <20080826144130.S66593@maildrop.int.zabbadoz.net> <m2abezwojl.wl%gnn@neville-neil.com> <48B4A62D.3080300@freebsd.org> <20080829162853.GB46693@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m28wuffx79.wl%gnn>