Re: [PATCH 2/7] CAN: Add PF_CAN core module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Urs Thuermann
Date: Friday, September 21, 2007 - 11:01 am

Patrick McHardy <kaber@trash.net> writes:


I don't think that can happen.  Before we drop the module reference we
call sk_alloc() which gets another module reference via its cp->prot
argument.  If sk_alloc() fails we return with error from can_create()
I assume sock->ops won't be used after that.

urs
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Thu Sep 20, 11:43 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Joe Perches, (Thu Sep 20, 1:06 pm)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Thomas Gleixner, (Thu Sep 20, 1:27 pm)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Fri Sep 21, 3:35 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Patrick McHardy, (Fri Sep 21, 5:47 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Joe Perches, (Fri Sep 21, 9:58 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Fri Sep 21, 11:01 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Patrick McHardy, (Sat Sep 22, 3:53 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Mon Sep 24, 12:23 pm)