From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sven Eckelmann Subject: Re: [PATCH] batman-adv: Don't skb_split skbuffs with frag_list Date: Sat, 16 Apr 2022 19:17:28 +0200 Message-ID: <2248548.8ZbxvZVH5L@sven-l14> In-Reply-To: References: <20220416122434.33061-1-sven@narfation.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2522755.ti4BlJHqdv"; micalg="pgp-sha512"; protocol="application/pgp-signature" 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-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: To: Andrew Lunn Cc: The list for a Better Approach To Mobile Ad-hoc Networking --nextPart2522755.ti4BlJHqdv Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Sven Eckelmann To: Andrew Lunn Cc: The list for a Better Approach To Mobile Ad-hoc Networking , Felix Kaechele Subject: Re: [PATCH] batman-adv: Don't skb_split skbuffs with frag_list Date: Sat, 16 Apr 2022 19:17:28 +0200 Message-ID: <2248548.8ZbxvZVH5L@sven-l14> In-Reply-To: References: <20220416122434.33061-1-sven@narfation.org> On Saturday, 16 April 2022 16:21:19 CEST Andrew Lunn wrote: > This is not an area of the kernel i'm very familiar with. But i'm > wondering, is this a BATMAN specific problem, or a generic problem? > Should the fix be in BATMAN, or the core? I understand what you mean. But let me cite two places which required to operate on parts of the frag lists: /* If we need update frag list, we are in troubles. * Certainly, it is possible to add an offset to skb data, * but taking into account that pulling is expected to * be very rare operation, it is worth to fight against * further bloating skb head and crucify ourselves here instead. * Pure masohism, indeed. 8)8) */ /* Misery. We are in troubles, going to mincer fragments... */ And since I cannot reproduce this here at the moment, I've decided not to start with that. Kind regards, Sven --nextPart2522755.ti4BlJHqdv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAmJa+igACgkQXYcKB8Em e0bpChAAu6doJp7yrVAf1DbnknxZLGXMfAghVjP7oQ5Kiv3lZh2iIxmO3JtOLGk3 fzAEa5i43SPU+Kim56yWUPlTmOgdquWt+ERmaoilVBsmpsu3EaJKtPj5QPm/KYqp gumCkBQ0oVPDw2h7cuAKzGZVVA/wqzObvLNVw9sxPDZIof3ThgcSGNg+PwqxFwPw 7m+citm0qCbrlPvyWWXDvG1jZmtLafJ1C7nxKMIyO9cGBE5BmHDbBZSXgA8IMeOg YiSg0tI7dJ49nHMLyag8exbrAjZfpLMY6jZcZ/dLEnNwIMqYpwEZnxMd3I7Gnpg2 R/54XQWGmNVrJa7Jh8xZlfxWHUh46Tv7HlWpDCVnaCDl1jZ8np7eVAeyckbyn1Qb q5pxt5mSopucojD7RtTDqSmOR2Q/2HOA0y3uNAsSUhdj4UwCRo3l94i8FXqfn2UZ jtTboJlhfnG7tvEchW+6ORdt5uMBgiT50NdWT54qBgyPapoMOD+mEU7Tq5blKI4r MxZ5+F2djsZvnecRKfT74sLV4GNE6N+ttxqA9VLyfHaxIIkRQHlWAj2LmRaiyVkt Ut/q9t3QIao3biVjqZ+LcP3iBo5hpw0gsmZfckU6cc3UBbR9DaAwWKbOPzm+pVXM z4hmIcagxXQbB5kQzv7FqMFmlpNmVKOJ/smYe3q4xeQQ47ltets= =uxkg -----END PGP SIGNATURE----- --nextPart2522755.ti4BlJHqdv--