diff options
author | Ido Schimmel <idosch@nvidia.com> | 2022-11-10 10:54:22 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-11 21:34:55 -0800 |
commit | 3e35f26d339718e155fa7cf5993a99924124a041 (patch) | |
tree | 6faa685ec6a51d9b47358127d10b9b07ecbcc122 /net/bridge | |
parent | d77be49309dddadee7cd0e581449baef1ded5ebe (diff) | |
download | linux-3e35f26d339718e155fa7cf5993a99924124a041.tar.gz linux-3e35f26d339718e155fa7cf5993a99924124a041.tar.bz2 linux-3e35f26d339718e155fa7cf5993a99924124a041.zip |
bridge: Add missing parentheses
No changes in generated code.
Reported-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/20221110085422.521059-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index d04d2205ad4e..3027e8f6be15 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -121,7 +121,7 @@ int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb test_bit(BR_FDB_LOCAL, &fdb_src->flags)) { /* FDB mismatch. Drop the packet without roaming. */ goto drop; - } else if test_bit(BR_FDB_LOCKED, &fdb_src->flags) { + } else if (test_bit(BR_FDB_LOCKED, &fdb_src->flags)) { /* FDB match, but entry is locked. Refresh it and drop * the packet. */ |