[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3 |
Date: |
Wed, 2 Jul 2014 06:21:31 +0000 |
> -----Original Message-----
> From: Anton Ivanov (antivano) [mailto:address@hidden
> Sent: Tuesday, July 01, 2014 11:06 PM
> To: Stefan Hajnoczi; Gonglei (Arei)
> Cc: qemu-devel; Peter Maydell; Huangweidong (C); chenliang (T); Luonengjun;
> Stefan Hajnoczi; Paolo Bonzini
> Subject: Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for
> L2TPV3
>
> On 01/07/14 15:35, Stefan Hajnoczi wrote:
> > On Tue, Jul 1, 2014 at 2:58 PM, <address@hidden> wrote:
> >> From: Gonglei <address@hidden>
> >>
> >> because mmsghdr struct is introduced on Linux kernel 3.3+.
> >> add check for mmsghdr struct, it only gets built on hosts that
> >> support mmsghdr.
>
> Incorrect.
>
> mmsghdr itself is Linux 2.6.32 and so is recvmmsg. Sendmmsg which will
> be introduced in the next version of the patch is 3.0. None of them is 3.3+
>
> Please see release notes for either kernel version.
>
Sorry for my incorrect reference.
Actually, my host is :
UVP:~ # uname -a
Linux UVP 3.0.93-0.8-default #1 SMP Tue Aug 27 08:44:18 UTC 2013 (70ed288)
x86_64 x86_64 x86_64 GNU/Linux
UVP:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
But it is not Linux 2.6.32 or more lower-:)
Best regards,
-Gonglei
> 2.6.32 is now 5 years old it is about time to update to relevant headers
> on whatever embedded platform you are using to try to build on.
>
> As far as general purpose linuxes, the relevant libc headers are present
> in Ubuntul LTS 12.x and onwards, Debian 7.x, Fedora, and all other major
> distros. I do not have a RHEL handy to check, but looking at release
> notes that the kernel supporting recmmsg is in 6.0 in the first place
> and so are the headers for glibc from certain point onwards.
>
> What appears in 3.3+ is kernel support for l2tpv3 tunnels which is what
> would allow a linux host to interop.
>
> A.
>
> >>
> >> Reported-by: chenliang <address@hidden>
> >> Signed-off-by: Gonglei <address@hidden>
> >> ---
> >> v2->v1:
> >> delete $l2tpv3 variable initialization and
> >> 'if' false check suggested by PMM.
> >> ---
> >> configure | 16 ++++++++++++++++
> >> net/Makefile.objs | 2 +-
> >> net/net.c | 4 ++--
> >> 3 files changed, 19 insertions(+), 3 deletions(-)
> > Reviewed-by: Stefan Hajnoczi <address@hidden>
- [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, arei.gonglei, 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Stefan Hajnoczi, 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Anton Ivanov (antivano), 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Peter Maydell, 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Anton Ivanov (antivano), 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Peter Maydell, 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Anton Ivanov (antivano), 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Peter Maydell, 2014/07/01
- Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3,
Gonglei (Arei) <=
Re: [Qemu-devel] [PATCH v2] net: add mmsghdr struct check for L2TPV3, Peter Maydell, 2014/07/01