Re: [RFC 2/2] net: Allow protocols to provide an unlocked_recvmsg sk_prot method

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaldo Carvalho de Melo
Date: Friday, May 22, 2009 - 7:52 am

Em Fri, May 22, 2009 at 12:47:38AM -0700, David Miller escreveu:

Yeah, I'll think about it, that was the easiest way to implement it for
the proof of concept we have now. Filtering it out at syscall entry and
at sock_common_recvmsg would fix it, but I'm not sure if its the best
option.

The comments about the interface provided to userspace (struct mmsghdr),
how to return errors after some datagrams were put in the array
(sk->sk_err being stored then returned in the next call), timeouts, etc
are great, thanks, after some more comments I'll respin these patches.

- Arnaldo
--
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:
[RFC 2/2] net: Allow protocols to provide an unlocked_recv ..., Arnaldo Carvalho de Melo, (Wed May 20, 4:06 pm)
Re: [RFC 2/2] net: Allow protocols to provide an unlocked_ ..., Arnaldo Carvalho de Melo, (Fri May 22, 7:52 am)