[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150315.220327.1395688557673633308.davem@davemloft.net>
Date: Sun, 15 Mar 2015 22:03:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ast@...mgrid.com
Cc: daniel@...earbox.net, tgraf@...g.ch, linux-api@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net-next 0/2] bpf: allow eBPF access skb fields
From: Alexei Starovoitov <ast@...mgrid.com>
Date: Fri, 13 Mar 2015 11:57:41 -0700
> Hi All,
>
> V1->V2:
> - refactored field access converter into common helper convert_skb_access()
> used in both classic and extended BPF
> - added missing build_bug_on for field 'len'
> - added comment to uapi/linux/bpf.h as suggested by Daniel
> - dropped exposing 'ifindex' field for now
>
> classic BPF has a way to access skb fields, whereas extended BPF didn't.
> This patch introduces this ability.
I've applied this series.
I guess you guys can argue forever where the SKB offset validation
checks should be, and if you decide to do things differently than
it is done in this series just send me a followup patch.
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