From: Daniel Borkmann Date: Fri, 28 Mar 2014 17:58:23 +0000 (+0100) Subject: net: ppp: use sk_unattached_filter api X-Git-Tag: v3.15-rc1~113^2~31^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568f194e8bd16c353ad50f9ab95d98b20578a39d;p=pandora-kernel.git net: ppp: use sk_unattached_filter api For the ppp driver, there are currently two open-coded BPF filters in use, that is, pass_filter and active_filter. Migrate both to make proper use of sk_unattached_filter_{create,destroy} API so that the actual BPF code is decoupled from direct access, and filters can be jited as a side-effect by the internal filter compiler. Joint work with Alexei Starovoitov. Signed-off-by: Daniel Borkmann Signed-off-by: Alexei Starovoitov Cc: Paul Mackerras Cc: linux-ppp@vger.kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed