OSDN Git Service

Merge branch 'cls_bpf-fix-offload-state-tracking-with-block-callbacks'
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 18:08:19 +0000 (13:08 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 18:08:19 +0000 (13:08 -0500)
Jakub Kicinski says:

===================
cls_bpf: fix offload state tracking with block callbacks

After introduction of block callbacks classifiers can no longer track
offload state.  cls_bpf used to do that in an attempt to move common
code from drivers to the core.  Remove that functionality and fix
drivers.

The user-visible bug this is fixing is that trying to offload a second
filter would trigger a spurious DESTROY and in turn disable the already
installed one.
===================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge