X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=net%2Fbridge%2Fbr_device.c;fp=net%2Fbridge%2Fbr_device.c;h=ab4d33e0201424231bd11f06740a174bf8b8831d;hb=e7d96e750f2bc9b951290c90df421ac5e9adc3ed;hp=c366ccc8b3db7b3052faea7fc75367d6a9f052b5;hpb=e44894e2aa4eb311ceda134de8b6f51ff979211b;p=linux-block.git diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index c366ccc8b3db..ab4d33e02014 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -389,7 +389,7 @@ static int br_fill_forward_path(struct net_device_path_ctx *ctx, br_vlan_fill_forward_path_pvid(br, ctx, path); f = br_fdb_find_rcu(br, ctx->daddr, path->bridge.vlan_id); - if (!f || !f->dst) + if (!f) return -1; dst = READ_ONCE(f->dst);