[Bridge] [PATCH net-next] bridge: avoid br_ifinfo_notify when nothing changed
David Miller
davem at davemloft.net
Sun Mar 24 21:18:07 UTC 2013
From: Hong Zhiguo <honkiko at gmail.com>
Date: Sun, 24 Mar 2013 21:26:47 +0800
> When neither IFF_BRIDGE nor IFF_BRIDGE_PORT is set,
> and afspec == NULL but protinfo != NULL, we run into
> "if (err == 0) br_ifinfo_notify(RTM_NEWLINK, p);" with
> random value in ret.
>
> Thanks to Sergei for pointing out the error in commit comments.
>
> Signed-off-by: Hong Zhiguo <honkiko at gmail.com>
Applied.
More information about the Bridge
mailing list