[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150911.145302.294634270302062884.davem@davemloft.net>
Date: Fri, 11 Sep 2015 14:53:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tycho.andersen@...onical.com
Cc: ast@...nel.org, netdev@...r.kernel.org, daniel@...earbox.net
Subject: Re: [PATCH] ebpf: emit correct src_reg for conditional jumps
From: Tycho Andersen <tycho.andersen@...onical.com>
Date: Thu, 10 Sep 2015 18:25:07 -0600
> Instead of always emitting BPF_REG_X, let's emit BPF_REG_X only when the
> source actually is BPF_X. This causes programs generated by the classic
> converter to not be importable via bpf(), as the eBPF verifier checks that
> the src_reg is correct or 0. While not a problem yet, this will be a
> problem when BPF_PROG_DUMP lands, and we can potentially dump and re-import
> programs generated by the converter.
>
> Signed-off-by: Tycho Andersen <tycho.andersen@...onical.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists