[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1355382905.14802.34.camel@cr0>
Date: Thu, 13 Dec 2012 15:15:05 +0800
From: Cong Wang <amwang@...hat.com>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: netdev@...r.kernel.org
Subject: Re: [net-next:master 14/17] net/bridge/br_mdb.c:330
br_mdb_add_group() error: potential null dereference 'mp'.
(br_multicast_new_group returns null)
On Thu, 2012-12-13 at 03:21 +0800, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> head: 520dfe3a3645257bf83660f672c47f8558f3d4c4
> commit: cfd567543590f71ca0af397437e2554f9756d750 [14/17] bridge: add support of adding and deleting mdb entries
>
>
> smatch warnings:
>
> + net/bridge/br_mdb.c:330 br_mdb_add_group() error: potential null dereference 'mp'. (br_multicast_new_group returns null)
br_multicast_new_group() seems impossible to return NULL, it either
returns a valid pointer (non-NULL) or some errno pointer.
OTOH, br_multicast_add_group() doesn't check for NULL either.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists