bridge: Add missing parentheses
authorIdo Schimmel <idosch@nvidia.com>
Thu, 10 Nov 2022 08:54:22 +0000 (10:54 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Nov 2022 05:34:55 +0000 (21:34 -0800)
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>
net/bridge/br_input.c

index d04d220..3027e8f 100644 (file)
@@ -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.
                         */