diff options
| author | Hong zhi guo <honkiko@gmail.com> | 2013-03-24 03:26:47 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-03-24 17:16:30 -0400 |
| commit | 7b99a99390ca328f4678ac04358c94744ab0f8b4 (patch) | |
| tree | 266b13a857c2d2c62566e30db838954bedd3c01c /drivers/net/xen-netfront.c | |
| parent | 5e95329b701c4edf6c4d72487ec0369fa148c0bd (diff) | |
| download | olio-linux-3.10-7b99a99390ca328f4678ac04358c94744ab0f8b4.tar.xz olio-linux-3.10-7b99a99390ca328f4678ac04358c94744ab0f8b4.zip | |
bridge: avoid br_ifinfo_notify when nothing changed
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions