summaryrefslogtreecommitdiffstats
path: root/lib/zlib_inflate
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-08-27 22:56:29 -0700
committerDavid S. Miller <davem@davemloft.net>2019-08-28 16:06:49 -0700
commit739d7c5752b255e89ddbb1b0474f3b88ef5cd343 (patch)
tree9a2f51687e74a3402d6c34577c123ec3828c42fd /lib/zlib_inflate
parent80a6a5d62da9ec1a4a949c0f95baa80d7efbfef5 (diff)
downloadlinux-739d7c5752b255e89ddbb1b0474f3b88ef5cd343.tar.bz2
nfp: flower: prevent ingress block binds on internal ports
Internal port TC offload is implemented through user-space applications (such as OvS) by adding filters at egress via TC clsact qdiscs. Indirect block offload support in the NFP driver accepts both ingress qdisc binds and egress binds if the device is an internal port. However, clsact sends bind notification for both ingress and egress block binds which can lead to the driver registering multiple callbacks and receiving multiple notifications of new filters. Fix this by rejecting ingress block bind callbacks when the port is internal and only adding filter callbacks for egress binds. Fixes: 4d12ba42787b ("nfp: flower: allow offloading of matches on 'internal' ports") Signed-off-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions