From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Yong Wang <wang.yong19@zte.com.cn>
Cc: dev@dpdk.org, ferruh.yigit@intel.com
Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix fd check before close
Date: Fri, 10 Feb 2017 14:24:07 +0100 [thread overview]
Message-ID: <2251064.kSqiKYJ6tA@xps13> (raw)
In-Reply-To: <1486734797-24637-1-git-send-email-wang.yong19@zte.com.cn>
2017-02-10 08:53, Yong Wang:
> The "dev->intr_handle.fd" is possibly a negative value while it is
> passed as an argument to function "close". Fix the check to the fd.
>
> Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
pci: fix UIO interrupt file descriptor check before close
Fixes: 5a60a7ffc801 ("pci: introduce functions to alloc and free uio resource")
Applied, thanks
prev parent reply other threads:[~2017-02-10 13:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-10 13:53 Yong Wang
2017-02-10 13:24 ` Thomas Monjalon [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=2251064.kSqiKYJ6tA@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=wang.yong19@zte.com.cn \
/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;
as well as URLs for NNTP newsgroup(s).