diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-03-28 18:58:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-31 00:45:09 -0400 |
commit | 77e0114ae9ae08685c503772a57af21d299c6701 (patch) | |
tree | 204dbaf897612e96900e82123300db5c6cfcf85a /include/linux/isdn_ppp.h | |
parent | 568f194e8bd16c353ad50f9ab95d98b20578a39d (diff) | |
download | op-kernel-dev-77e0114ae9ae08685c503772a57af21d299c6701.zip op-kernel-dev-77e0114ae9ae08685c503772a57af21d299c6701.tar.gz |
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.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/isdn_ppp.h b/include/linux/isdn_ppp.h index d5f62bc..8e10f57 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; |