diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-09-23 21:56:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-23 14:29:02 -0700 |
commit | ef146fa40cc3af1dcb13688f41cc06a9c0deb01c (patch) | |
tree | ae47e40a2cd044d23f2317e0e8eee01e4e5ffe8b /drivers/platform/x86/Makefile | |
parent | bf007d1c75aceb4e8a407f325d42ee9958049a31 (diff) |
cls_bpf: make binding to classid optional
The binding to a particular classid was so far always mandatory for
cls_bpf, but it doesn't need to be. Therefore, lift this restriction
as similarly done in other classifiers.
Only a couple of qdiscs make use of class from the tcf_result, others
don't strictly care, so let the user choose his needs (those that read
out class can handle situations where it could be NULL).
An explicit check for tcf_unbind_filter() is also not needed here, as
the previous r->class was 0, so the xchg() will return that and
therefore a callback to the qdisc's unbind_tcf() is skipped.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/platform/x86/Makefile')
0 files changed, 0 insertions, 0 deletions