[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5982263A.9000604@iogearbox.net>
Date: Wed, 02 Aug 2017 21:21:30 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Phil Sutter <phil@....cc>,
Stephen Hemminger <stephen@...workplumber.org>
CC: netdev@...r.kernel.org
Subject: Re: [iproute PATCH] bpf: Make bytecode-file reading a little more
robust
On 08/02/2017 02:57 PM, Phil Sutter wrote:
> bpf_parse_string() will now correctly handle:
>
> - Extraneous whitespace,
> - OPs on multiple lines and
> - overlong file names.
>
> The added feature of allowing to have OPs on multiple lines (like e.g.
> tcpdump prints them) is rather a side effect of fixing detection of
> malformed bytecode files having random content on a second line, like
> e.g.:
>
> | 4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0
> | foobar
>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Signed-off-by: Phil Sutter <phil@....cc>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists