diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2015-01-22 12:58:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-27 03:08:55 +0300 |
commit | 1c1bc6bdb7f529eb3383b6e34a0ea327d7e9f615 (patch) | |
tree | a15d65097742cdd38f9702d07f124c6aae0867e2 /fs/nfs | |
parent | fa067467d84b9ebf6886383fe79715f3df90f255 (diff) | |
download | linux-1c1bc6bdb7f529eb3383b6e34a0ea327d7e9f615.tar.xz |
net: cls_basic: return from walking on match in basic_get
As soon as we've found a matching handle in basic_get(), we can
return it. There's no need to continue walking until the end of
a filter chain, since they are unique anyway.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Cc: Thomas Graf <tgraf@suug.ch>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions