From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 23 Oct 2013 08:58:59 +0800 Message-ID: <7361726.X9Gu1TtIcC@diderot> In-Reply-To: <1382486068-3145-1-git-send-email-sw@simonwunderlich.de> References: <1382486068-3145-1-git-send-email-sw@simonwunderlich.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10173424.oLqoMgLtdY"; micalg="pgp-sha1"; protocol="application/pgp-signature" Subject: Re: [B.A.T.M.A.N.] [PATCHv4] batman-adv: generalize batman-adv icmp packet handling Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking --nextPart10173424.oLqoMgLtdY Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday 23 October 2013 01:54:28 Simon Wunderlich wrote: > Instead of handling icmp packets only up to length of icmp_packet_rr, > the code should handle any icmp length size. Therefore the length > truncating is moved to when the packet is actually sent to userspace > (this does not support lengths longer than icmp_packet_rr yet). Longer > packets are forwarded without truncating. > > This patch also cleans up some parts where the icmp header struct could > be used instead of other icmp_packet(_rr) structs to make the code more > readable. > > Signed-off-by: Simon Wunderlich > --- > Changes to PATCHv3: > * remove unnecesary blank line (buildservers checkpatch complained, > mine didn't ...) Since your patch has been applied already, we will need a patch only fixing this 'regression'. Antonio will merge them together. Cheers, Marek --nextPart10173424.oLqoMgLtdY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJSZx9XAAoJEFNVTo/uthzAMg8IAJzr/Qh9cPgaoqShfij6r5eh jbjZ+0bDN05E989Lqs8RZ/huxLKcOLDbl7Jt54+5XTAaUNGFg65oi8CeGGU1X3/V XK4qJbfXEYMbqXluQhKXfxSbWdGuuEyInV15EXq0ruCqJvAo21O14ZIoaNTvCm+O QvEKG7o2iEvHoYn5klYm5ZjSAEk5apVEpTIaFeHPYo+GIMxGwc3VICpHtpgNf1fL 2dt0Lcj9ZB+mFFTEPzixjHtDTw1d4Rgaz6Z7ayAWK/upnSMcGahThbPQv2hczMhq YTc6sLNVXeU4mkZozkbzahFKgHdK9wFni8Ls0apSCy2wMhqjNBugyjbsCasXIPs= =ZoeL -----END PGP SIGNATURE----- --nextPart10173424.oLqoMgLtdY--