[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170901.203430.1204195231321352853.davem@davemloft.net>
Date: Fri, 01 Sep 2017 20:34:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, jiri@...lanox.com, dsahern@...il.com,
mlxsw@...lanox.com
Subject: Re: [PATCH net-next] net: Add module reference to FIB notifiers
From: Ido Schimmel <idosch@...lanox.com>
Date: Fri, 1 Sep 2017 12:15:17 +0300
> When a listener registers to the FIB notification chain it receives a
> dump of the FIB entries and rules from existing address families by
> invoking their dump operations.
>
> While we call into these modules we need to make sure they aren't
> removed. Do that by increasing their reference count before invoking
> their dump operations and decrease it afterwards.
>
> Fixes: 04b1d4e50e82 ("net: core: Make the FIB notification chain generic")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Oops, yes, you'll need to do this.
Applied, thanks.
Powered by blists - more mailing lists