[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170803155942.4112575c@xeon-e3>
Date: Thu, 3 Aug 2017 15:59:42 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Phil Sutter <phil@....cc>
Cc: netdev@...r.kernel.org, Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [iproute PATCH] bpf: Make bytecode-file reading a little more
robust
On Wed, 2 Aug 2017 14:57:56 +0200
Phil Sutter <phil@....cc> 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>
Looks good applied.
Powered by blists - more mailing lists