summaryrefslogtreecommitdiff
path: root/include/linux/isdn_ppp.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-03-28 21:58:24 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-31 08:45:09 +0400
commit77e0114ae9ae08685c503772a57af21d299c6701 (patch)
tree204dbaf897612e96900e82123300db5c6cfcf85a /include/linux/isdn_ppp.h
parent568f194e8bd16c353ad50f9ab95d98b20578a39d (diff)
downloadlinux-77e0114ae9ae08685c503772a57af21d299c6701.tar.xz
net: isdn: use sk_unattached_filter api
Similarly as in ppp, we need to migrate the ISDN/PPP code to make use of the sk_unattached_filter api in order to decouple having direct filter structure access. By using sk_unattached_filter_{create,destroy}, we can allow for the possibility to jit compile filters for faster filter verdicts as well. Joint work with Alexei Starovoitov. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Cc: Karsten Keil <isdn@linux-pingi.de> Cc: isdn4linux@listserv.isdn4linux.de Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/isdn_ppp.h')
-rw-r--r--include/linux/isdn_ppp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/isdn_ppp.h b/include/linux/isdn_ppp.h
index d5f62bc5f4be..8e10f57f109f 100644
--- a/include/linux/isdn_ppp.h
+++ b/include/linux/isdn_ppp.h
@@ -180,9 +180,8 @@ struct ippp_struct {
struct slcompress *slcomp;
#endif
#ifdef CONFIG_IPPP_FILTER
- struct sock_filter *pass_filter; /* filter for packets to pass */
- struct sock_filter *active_filter; /* filter for pkts to reset idle */
- unsigned pass_len, active_len;
+ struct sk_filter *pass_filter; /* filter for packets to pass */
+ struct sk_filter *active_filter; /* filter for pkts to reset idle */
#endif
unsigned long debug;
struct isdn_ppp_compressor *compressor,*decompressor;