All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mat Martineau <mathew.j.martineau at linux.intel.com>
To: mptcp at lists.01.org
Subject: [MPTCP] Re: Fwd: [martineau:kbuild-mptcp 22/38] subflow.c:undefined reference to `__crypto_memneq'
Date: Fri, 17 Jan 2020 16:27:41 -0800	[thread overview]
Message-ID: <alpine.OSX.2.21.2001171618020.68065@sjshaw-mobl.amr.corp.intel.com> (raw)
In-Reply-To: 20200118000536.GY795@breakpoint.cc

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]


On Sat, 18 Jan 2020, Florian Westphal wrote:

> ----- Forwarded message from kbuild test robot <lkp(a)intel.com> -----
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/martineau/linux.git kbuild-mptcp
> head:   c4ccdd8177fb3d8123dd294ae93ee2dac1f43f32
> commit: ccd5b6ef8fd4b37a7721231a55482523b07d7ef9 [22/38] mptcp: Add handling of incoming MP_JOIN requests
> config: xtensa-common_defconfig (attached as .config)
> compiler: xtensa-linux-gcc (GCC) 7.5.0
> reproduce:
>        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>        chmod +x ~/bin/make.cross
>        git checkout ccd5b6ef8fd4b37a7721231a55482523b07d7ef9
>        # save the attached .config to linux build tree
>        GCC_VERSION=7.5.0 make.cross ARCH=xtensa
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp(a)intel.com>
>
> All errors (new ones prefixed by >>):
>
>   net/mptcp/subflow.o: In function `subflow_ulp_release':
>>> subflow.c:(.text+0x41c): undefined reference to `__crypto_memneq'
>   net/mptcp/subflow.o: In function `subflow_syn_recv_sock':
>   subflow.c:(.text+0x53a): undefined reference to `__crypto_memneq'
>
> Hmpf.  The .config has CONFIG_CRYPTO=n and then the symbol doesn't
> exist.
>
> So we have two choices:
> - select CRYPTO from Kconfig
> - use plain memcmp as before (might reveal info about key though)
> - copypaste a similar function into mptcp.
>
> What do you think?

I prefer selecting CRYPTO over copy/paste. Plain memcmp does not seem 
suitable.

--
Mat Martineau
Intel

             reply	other threads:[~2020-01-18  0:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18  0:27 Mat Martineau [this message]
2020-01-19 14:07 [MPTCP] Re: Fwd: [martineau:kbuild-mptcp 22/38] subflow.c:undefined reference to `__crypto_memneq' Paolo Abeni
2020-01-20  9:49 Matthieu Baerts
2020-01-20 16:20 Florian Westphal
2020-01-20 21:44 Matthieu Baerts

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=alpine.OSX.2.21.2001171618020.68065@sjshaw-mobl.amr.corp.intel.com \
    --to=unknown@example.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.