]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bridge: Fix fatal typo in setup of multicast_querier_expired
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 30 Apr 2012 00:22:56 +0000 (00:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2012 17:30:56 +0000 (13:30 -0400)
commitbb63f1f8a08cf8028564ad04831ebd7a8ffb9cba
tree65a50a4cc38f7994ab62fefa4cc9a65a191e15ae
parentd499bd2ee979cd0e1b5e3f6379d753582c67ec8c
bridge: Fix fatal typo in setup of multicast_querier_expired

Unfortunately it seems that I didn't properly test the case of
an expired external querier in the recent multicast bridge series.

The setup of the timer in that case is completely broken and leads
to a NULL-pointer dereference.  This patch fixes it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c