[<prev] [next>] [day] [month] [year] [list]
Message-ID: <35265f1e-67ba-bd91-9583-00f39ffd07f2@cumulusnetworks.com>
Date: Wed, 26 Oct 2016 14:42:09 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: Mahesh Bandewar (महेश बंडेवार) <maheshb@...gle.com>,
Daniel Borkmann <daniel@...earbox.net>
Cc: linux-netdev <netdev@...r.kernel.org>, daniel@...que.org,
ast@...com
Subject: Re: [PATCH net-next 2/3] bpf: Add new cgroups prog type to enable
sock modifications
On 10/26/16 2:31 PM, Mahesh Bandewar (महेश बंडेवार) wrote:
> The hook insertion in sk_alloc() may not solve all control-path checks as not much can be done (probably apart for changing sk_bound_dev_if) during allocation but hooks in bind(), listen(), setsockopt() etc. (not a complete list) will be needed. Also pushing this change (changing sk_bound_dev_if) later (than sk_alloc()) you might avoid the case dumazet@ has mentioned.
For v2 I moved the running of the filter to the end of inet{6}_create.
Powered by blists - more mailing lists