From: David Miller <davem@davemloft.net>
To: agartrell@fb.com
Cc: herbert@gondor.apana.org.au, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH net-next] tun: return proper error code from tun_do_read
Date: Wed, 31 Dec 2014 14:15:37 -0500 (EST) [thread overview]
Message-ID: <20141231.141537.1885739121180441904.davem@davemloft.net> (raw)
In-Reply-To: <1419578569-13132-1-git-send-email-agartrell@fb.com>
From: Alex Gartrell <agartrell@fb.com>
Date: Thu, 25 Dec 2014 23:22:49 -0800
> Instead of -1 with EAGAIN, read on a O_NONBLOCK tun fd will return 0. This
> fixes this by properly returning the error code from __skb_recv_datagram.
>
> Signed-off-by: Alex Gartrell <agartrell@fb.com>
Applied.
prev parent reply other threads:[~2014-12-31 19:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-26 7:22 Alex Gartrell
2014-12-31 19:15 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141231.141537.1885739121180441904.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=agartrell@fb.com \
--cc=herbert@gondor.apana.org.au \
--cc=kernel-team@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®