All of lore.kernel.org
 help / color / mirror / Atom feed
* Raw can socket close and disabling filters
@ 2016-04-22 11:39 laurent vaudoit
  2016-04-23 13:33 ` Oliver Hartkopp
  0 siblings, 1 reply; 5+ messages in thread
From: laurent vaudoit @ 2016-04-22 11:39 UTC (permalink / raw)
  To: linux-can

Hi all,
i'm using a 3.10 kernel with rtpatch applied, with raw can features.
Running some debug in the release function, i've seen something weird (for 
me).

In the function, we get the socket informations
and then we unregister the notifier.

After this, we test if the socket is bound and which is the ifindex.

But when the unregister function is called, there is a call to the notifier 
with the event NETDEV_UNREGISTER, who leads to clear the socket inforamtions 
like bound and ifindex.

So in the release function we can never enter in the code specific to a 
device.

Is there something i've missed?

Thanks in advance for your answer.
Regards
Laurent


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-25  7:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 11:39 Raw can socket close and disabling filters laurent vaudoit
2016-04-23 13:33 ` Oliver Hartkopp
2016-04-25  7:19   ` laurent vaudoit
2016-04-25  7:54     ` Oliver Hartkopp
2016-04-25  7:57       ` laurent vaudoit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.