RE: [PATCH net-next-2.6 09/13] net-caif: add CAIF netdevice

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: =?iso-8859-1?Q?Sjur_Br=E6ndeland?=
Date: Tuesday, February 2, 2010 - 5:37 am

Hi Patrick.
Sorry for late response.

Patrick McHardy wrote:

The ipcaif_net_init is actually the setup function, but it is badly named.
I'll rename it to ipcaif_net_setup, sorry for the confusion.


Thanks, I'll fix this.



The modem provides a loopback function for the CAIF link type (CAIF_CHTY_DATAGRAM_LOOP).
This is useful for testing the physical link between modem and host.
In this scenario we need to swap src and destination ip address.
I'll move this to a separate function in next patch set.


I don't think it leaks because I do dev_put in chnl_net_uninit,
but you're right - I don't really need this. I'll remove the 
dev_hold and dev_put completely in next patch-set.



OK, Thanks.


Well, I would like to keep support for both netlink and ioctl.
Internally we are using a netlink interface, and oFono is using ioctl to create interfaces.


Very well spotted, thanks. This could leave wild pointers. 



You're right thank you, I'll fix this.

BR/Sjur
--
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 net-next-2.6 02/13] net-caif: add CAIF header files, sjur.brandeland, (Wed Jan 20, 3:55 pm)
[PATCH net-next-2.6 04/13] net-caif: add CAIF header files, sjur.brandeland, (Wed Jan 20, 3:55 pm)
[PATCH net-next-2.6 09/13] net-caif: add CAIF netdevice, sjur.brandeland, (Wed Jan 20, 3:55 pm)
[PATCH net-next-2.6 12/13] net-caif: add CAIF documentation, sjur.brandeland, (Wed Jan 20, 3:55 pm)
Re: [PATCH net-next-2.6 09/13] net-caif: add CAIF netdevice, Patrick McHardy, (Thu Jan 21, 1:03 am)
RE: [PATCH net-next-2.6 02/13] net-caif: add CAIF header files, =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 1:18 am)
RE: [PATCH net-next-2.6 02/13] net-caif: add CAIF header files, =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 1:56 am)
RE: [PATCH net-next-2.6 02/13] net-caif: add CAIF header files, =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 2:43 am)
RE: [PATCH net-next-2.6 13/13] net-caif-driver: add CAIF s ..., =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 2:56 am)
RE: [PATCH net-next-2.6 03/13] net-caif: add CAIF generic ..., =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 3:01 am)
RE: [PATCH net-next-2.6 00/13] net-caif: introducing CAIF ..., =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 3:11 am)
RE: [PATCH net-next-2.6 03/13] net-caif: add CAIF generic ..., =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 3:16 am)
RE: [PATCH net-next-2.6 02/13] net-caif: add CAIF header files, =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 3:53 am)
RE: [PATCH net-next-2.6 03/13] net-caif: add CAIF generic ..., =?iso-8859-1?Q?Sjur_ ..., (Fri Jan 22, 4:02 am)
RE: [PATCH net-next-2.6 10/13] net-caif: add kernel-client ..., =?iso-8859-1?Q?Sjur_ ..., (Tue Jan 26, 12:56 pm)
RE: [PATCH net-next-2.6 09/13] net-caif: add CAIF netdevice, =?iso-8859-1?Q?Sjur_ ..., (Tue Feb 2, 5:37 am)