On Thu, Feb 14, 2019 at 12:04:47PM -0700, David Ahern wrote: > On 2/14/19 11:39 AM, Peter Oskolkov wrote: > > On error the skb should be freed. Tested with diff/steps > > provided by David Ahern. > > > > v2: surface routing errors to the user instead of a generic EINVAL, > > as suggested by David Ahern. > > > > Reported-by: David Ahern <dsah...@gmail.com> > > Fixes: 3bd0b15281af ("bpf: add handling of BPF_LWT_REROUTE to lwt_bpf.c") > > Signed-off-by: Peter Oskolkov <p...@google.com> > > --- > > net/core/lwt_bpf.c | 29 ++++++++++++++++++++--------- > > 1 file changed, 20 insertions(+), 9 deletions(-) > > > > Reviewed-by: David Ahern <dsah...@gmail.com>
Applied, Thanks