Thread (2 messages) flat view 2 messages, 2 authors, 2017-09-02

Re: [PATCH net-next] net: Add module reference to FIB notifiers

From: David Miller <davem@davemloft.net>
Date: 2017-09-02 03:34:31

From: Ido Schimmel <redacted>
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 <redacted>
Reviewed-by: Jiri Pirko <redacted>
Oops, yes, you'll need to do this.

Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help