aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_hashtables.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2018-02-01 11:25:27 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-01 09:47:37 -0500
commit367dc6586d2d9c0c347b567f7efec57f59c376fd (patch)
tree1badccc18cf051afe8361c57b8e93ce787e49ab6 /net/ipv4/inet_hashtables.c
parentopenvswitch: Remove padding from packet before L3+ conntrack processing (diff)
downloadlinux-dev-367dc6586d2d9c0c347b567f7efec57f59c376fd.tar.xz
linux-dev-367dc6586d2d9c0c347b567f7efec57f59c376fd.zip
net: bridge: Fix uninitialized error in br_fdb_sync_static()
With gcc-4.1.2.: net/bridge/br_fdb.c: In function ‘br_fdb_sync_static’: net/bridge/br_fdb.c:996: warning: ‘err’ may be used uninitialized in this function Indeed, if the list is empty, err will be uninitialized, and will be propagated up as the function return value. Fix this by preinitializing err to zero. Fixes: eb7935830d00b9e0 ("net: bridge: use rhashtable for fdbs") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_hashtables.c')
0 files changed, 0 insertions, 0 deletions