[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 08 Sep 2017 20:54:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: brouer@...hat.com
Cc: netdev@...r.kernel.org, borkmann@...earbox.net,
john.fastabend@...il.com, andy@...yhouse.net
Subject: Re: [V2 PATCH net-next 0/2] Fixes for XDP_REDIRECT map
From: Jesper Dangaard Brouer <brouer@...hat.com>
Date: Thu, 07 Sep 2017 14:33:08 +0200
> This my V2 of catching XDP_REDIRECT and bpf_redirect_map() API usage
> that can potentially crash the kernel. Addressed Daniels feedback in
> patch01, and added patch02 which catch and cleanup dangling map
> pointers.
>
> I know John and Daniel are working on a more long-term solution, of
> recording the bpf_prog pointer together with the map pointer. I just
> wanted to propose these fixes as a stop-gap to the potential crashes.
Jesper if these are still relevant, please resubmit against the 'net'
tree, thanks!
Powered by blists - more mailing lists