From: Steffen Klassert <steffen.klassert@secunet.com>
To: Yi Zhao <yi.zhao@windriver.com>
Cc: <netdev@vger.kernel.org>, <fan.du@intel.com>
Subject: Re: [PATCH] xfrm_user: fix return value from xfrm_user_rcv_msg
Date: Wed, 30 Nov 2016 13:15:30 +0100 [thread overview]
Message-ID: <20161130121530.GV3541@gauss.secunet.com> (raw)
In-Reply-To: <1480414141-17801-1-git-send-email-yi.zhao@windriver.com>
On Tue, Nov 29, 2016 at 06:09:01PM +0800, Yi Zhao wrote:
> It doesn't support to run 32bit 'ip' to set xfrm objdect on 64bit host.
> But the return value is unknown for user program:
>
> ip xfrm policy list
> RTNETLINK answers: Unknown error 524
>
> Replace ENOTSUPP with EOPNOTSUPP:
>
> ip xfrm policy list
> RTNETLINK answers: Operation not supported
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Applied to the ipsec tree, thanks!
prev parent reply other threads:[~2016-11-30 12:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-29 10:09 [PATCH] xfrm_user: fix return value from xfrm_user_rcv_msg Yi Zhao
2016-11-30 12:15 ` Steffen Klassert [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=20161130121530.GV3541@gauss.secunet.com \
--to=steffen.klassert@secunet.com \
--cc=fan.du@intel.com \
--cc=netdev@vger.kernel.org \
--cc=yi.zhao@windriver.com \
/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).