Re: AX.25 Kernel - problem - ax25_sendmsg returns EMSGSIZE !

2007-10-08 Thread Tihomir Heidelberg - 9a4gl
Hi, Hamish Moffatt wrote: On Sun, Oct 07, 2007 at 09:58:06PM +0200, Tihomir Heidelberg - 9a4gl wrote: Using kernel 2.6.21.6 here. If you write to AX.25 socket bytes more then MTU, write will return -1 and errno will be set to 90 (EMSGSIZE = [Message too long]). Is it sensible

Re: AX.25 Kernel - problem - ax25_sendmsg returns EMSGSIZE !

2007-10-08 Thread Tihomir Heidelberg - 9a4gl
Hi, Ralf Baechle DL5RB wrote: I think that: 1. ax25_sendmsg should accept data larger then mtu and pass the data to ax25_output. 2. ax25_output should do fragmentation and queue frames into device queue. 3. ax25_output should stop fragmenting when device queue is full 4. ax25_output should

Re: AX.25 Kernel - problem - ax25_sendmsg returns EMSGSIZE !

2007-10-08 Thread Tihomir Heidelberg - 9a4gl
have stream. Anyway, why checking MTU, why not PACLEN ? Because PACLEN is the one which limits maximum length of frame, not MTU ! Right ? 73 de Tihomir Heidelberg, 9a4gl - To unsubscribe from this list: send the line unsubscribe linux-hams in the body of a message to [EMAIL PROTECTED] More

AX.25 Kernel - problem - ax25_sendmsg returns EMSGSIZE !

2007-10-07 Thread Tihomir Heidelberg - 9a4gl
software (http://dnx274.dyndns.org/baybox/) which writes as much data as it prepared. 73 de Tihomir Heidelberg, 9a4gl(_a_t_)hamradio(d_o_t)hr - To unsubscribe from this list: send the line unsubscribe linux-hams in the body of a message to [EMAIL PROTECTED] More majordomo info at http