* Re: [LKP] [net] 4ed2d765dfa: ltp.recv01.4.TFAIL [not found] <20141001152910.GA4440@wfg-t540p.sh.intel.com> @ 2014-10-01 15:57 ` Daniel Borkmann 2014-10-01 16:20 ` Chuck Ebbert 2014-10-01 15:57 ` Willem de Bruijn 1 sibling, 1 reply; 3+ messages in thread From: Daniel Borkmann @ 2014-10-01 15:57 UTC (permalink / raw) To: Fengguang Wu; +Cc: Willem de Bruijn, Dave Hansen, netdev, LKML, lkp On 10/01/2014 05:29 PM, Fengguang Wu wrote: > Hi Willem, > > FYI, we noticed the below LTP failures on commit > > 4ed2d765dfaccff5ebdac68e2064b59125033a3b ("net-timestamp: TCP timestamping") I think it already was discussed here: http://www.spinics.net/lists/netdev/msg297822.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LKP] [net] 4ed2d765dfa: ltp.recv01.4.TFAIL 2014-10-01 15:57 ` [LKP] [net] 4ed2d765dfa: ltp.recv01.4.TFAIL Daniel Borkmann @ 2014-10-01 16:20 ` Chuck Ebbert 0 siblings, 0 replies; 3+ messages in thread From: Chuck Ebbert @ 2014-10-01 16:20 UTC (permalink / raw) To: Daniel Borkmann Cc: Fengguang Wu, Willem de Bruijn, Dave Hansen, netdev, LKML, lkp On Wed, 01 Oct 2014 17:57:20 +0200 Daniel Borkmann <dborkman@redhat.com> wrote: > On 10/01/2014 05:29 PM, Fengguang Wu wrote: > > Hi Willem, > > > > FYI, we noticed the below LTP failures on commit > > > > 4ed2d765dfaccff5ebdac68e2064b59125033a3b ("net-timestamp: TCP timestamping") > > I think it already was discussed here: > > http://www.spinics.net/lists/netdev/msg297822.html I've fixed one of those in LTP. My proposed patch for how to fix the other three didn't get any replies on the LTP list: http://sourceforge.net/p/ltp/mailman/message/32866727/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LKP] [net] 4ed2d765dfa: ltp.recv01.4.TFAIL [not found] <20141001152910.GA4440@wfg-t540p.sh.intel.com> 2014-10-01 15:57 ` [LKP] [net] 4ed2d765dfa: ltp.recv01.4.TFAIL Daniel Borkmann @ 2014-10-01 15:57 ` Willem de Bruijn 1 sibling, 0 replies; 3+ messages in thread From: Willem de Bruijn @ 2014-10-01 15:57 UTC (permalink / raw) To: Fengguang Wu; +Cc: Dave Hansen, Network Development, LKML, lkp On Wed, Oct 1, 2014 at 11:29 AM, Fengguang Wu <fengguang.wu@intel.com> wrote: > Hi Willem, > > FYI, we noticed the below LTP failures on commit Thanks for the report, Fengguang. The failures are recv01 4 TFAIL : recv01.c:142: invalid flags set ; returned -1 (expected -1), errno 11 (expected 22) recvfrom01 4 TFAIL : recvfrom01.c:164: invalid socket length ; returned -1 (expected -1), errno 11 (expected 22) recvfrom01 6 TFAIL : recvfrom01.c:164: invalid flags set ; returned -1 (expected -1), errno 11 (expected 22) recvmsg01 9 TFAIL : recvmsg01.c:228: invalid flags set ; returned -1 (expected -1), errno 11 (expected 22) In other words, these functions return EAGAIN now, when they used to return EINVAL. This will happen from this patch onwards if flags includes MSG_ERRQUEUE. The patch introduced error queue support for TCP sockets. Like other recvmsg implementations, the error queue code will act on some flags and ignore others. Previously, the code happened to check MSG_OOB first and return EINVAL. The error queue code ignores this flag and returns EAGAIN if no data is waiting. This was recently discussed in LTP recv/recvmsg tests failing on 3.17 http://comments.gmane.org/gmane.linux.network/331750 where the consensus was that applications should not expect particular error codes when passing unsupported combinations of flags. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-01 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20141001152910.GA4440@wfg-t540p.sh.intel.com>
2014-10-01 15:57 ` [LKP] [net] 4ed2d765dfa: ltp.recv01.4.TFAIL Daniel Borkmann
2014-10-01 16:20 ` Chuck Ebbert
2014-10-01 15:57 ` Willem de Bruijn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox