[ovs-dev] [PATCH] rstp: Show root bridge info.
nickcooper-zhangtonghao
nic at opencloud.tech
Fri Jul 14 02:30:52 UTC 2017
> On Jul 14, 2017, at 7:05 AM, Ben Pfaff <blp at ovn.org> wrote:
>
> This change makes me nervous about dereferencing a null 'p'. I think
> that it will not do so, for a root bridge, but it takes some study to
> see that.
>
> How about this, instead? It has a small amount of code duplication, but
> it is easier to see that it avoids a null dereference.
Looks good to me. Thanks.
Acked-by: nickcooper-zhangtonghao <nic at opencloud.tech>
More information about the dev
mailing list