All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types
@ 2016-10-27  1:00 Laurent Vivier
  2016-11-06 15:42 ` Laurent Vivier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Laurent Vivier @ 2016-10-27  1:00 UTC (permalink / raw)
  To: Riku Voipio; +Cc: qemu-devel, Laurent Vivier

Add QEMU_IFLA_GSO_MAX_SEGS and QEMU_IFLA_GSO_MAX_SIZE
in host_to_target_data_link_rtattr().

These two messages are sent by the host kernel when
we use "sudo".

Found with qemu-m68k and Debian etch-m68k (sudo 1.6.8p12-4) and
host kernel 4.7.6-200.fc24.x86_64

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/syscall.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index db697c0..521bdb5 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2320,6 +2320,8 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr)
     case QEMU_IFLA_GROUP:
     case QEMU_IFLA_MASTER:
     case QEMU_IFLA_NUM_VF:
+    case QEMU_IFLA_GSO_MAX_SEGS:
+    case QEMU_IFLA_GSO_MAX_SIZE:
         u32 = RTA_DATA(rtattr);
         *u32 = tswap32(*u32);
         break;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types
  2016-10-27  1:00 [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types Laurent Vivier
@ 2016-11-06 15:42 ` Laurent Vivier
  2016-11-11 17:42 ` Laurent Vivier
  2017-01-17 11:14 ` Laurent Vivier
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2016-11-06 15:42 UTC (permalink / raw)
  To: qemu-devel


This is a bug fix: could you take it for 2.8?

Laurent

Le 27/10/2016 à 03:00, Laurent Vivier a écrit :
> Add QEMU_IFLA_GSO_MAX_SEGS and QEMU_IFLA_GSO_MAX_SIZE
> in host_to_target_data_link_rtattr().
> 
> These two messages are sent by the host kernel when
> we use "sudo".
> 
> Found with qemu-m68k and Debian etch-m68k (sudo 1.6.8p12-4) and
> host kernel 4.7.6-200.fc24.x86_64
> 
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>  linux-user/syscall.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index db697c0..521bdb5 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -2320,6 +2320,8 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr)
>      case QEMU_IFLA_GROUP:
>      case QEMU_IFLA_MASTER:
>      case QEMU_IFLA_NUM_VF:
> +    case QEMU_IFLA_GSO_MAX_SEGS:
> +    case QEMU_IFLA_GSO_MAX_SIZE:
>          u32 = RTA_DATA(rtattr);
>          *u32 = tswap32(*u32);
>          break;
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types
  2016-10-27  1:00 [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types Laurent Vivier
  2016-11-06 15:42 ` Laurent Vivier
@ 2016-11-11 17:42 ` Laurent Vivier
  2017-01-17 11:14 ` Laurent Vivier
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2016-11-11 17:42 UTC (permalink / raw)
  To: Riku Voipio; +Cc: qemu-devel, Stefan Hajnoczi, Peter Maydell

This is a bug fix: could you take it for 2.8?

Laurent

Le 27/10/2016 à 03:00, Laurent Vivier a écrit :
> Add QEMU_IFLA_GSO_MAX_SEGS and QEMU_IFLA_GSO_MAX_SIZE
> in host_to_target_data_link_rtattr().
> 
> These two messages are sent by the host kernel when
> we use "sudo".
> 
> Found with qemu-m68k and Debian etch-m68k (sudo 1.6.8p12-4) and
> host kernel 4.7.6-200.fc24.x86_64
> 
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>  linux-user/syscall.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index db697c0..521bdb5 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -2320,6 +2320,8 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr)
>      case QEMU_IFLA_GROUP:
>      case QEMU_IFLA_MASTER:
>      case QEMU_IFLA_NUM_VF:
> +    case QEMU_IFLA_GSO_MAX_SEGS:
> +    case QEMU_IFLA_GSO_MAX_SIZE:
>          u32 = RTA_DATA(rtattr);
>          *u32 = tswap32(*u32);
>          break;
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types
  2016-10-27  1:00 [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types Laurent Vivier
  2016-11-06 15:42 ` Laurent Vivier
  2016-11-11 17:42 ` Laurent Vivier
@ 2017-01-17 11:14 ` Laurent Vivier
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2017-01-17 11:14 UTC (permalink / raw)
  To: Riku Voipio; +Cc: qemu-devel

Ping?

Laurent

Le 27/10/2016 à 03:00, Laurent Vivier a écrit :
> Add QEMU_IFLA_GSO_MAX_SEGS and QEMU_IFLA_GSO_MAX_SIZE
> in host_to_target_data_link_rtattr().
> 
> These two messages are sent by the host kernel when
> we use "sudo".
> 
> Found with qemu-m68k and Debian etch-m68k (sudo 1.6.8p12-4) and
> host kernel 4.7.6-200.fc24.x86_64
> 
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>  linux-user/syscall.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index db697c0..521bdb5 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -2320,6 +2320,8 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr)
>      case QEMU_IFLA_GROUP:
>      case QEMU_IFLA_MASTER:
>      case QEMU_IFLA_NUM_VF:
> +    case QEMU_IFLA_GSO_MAX_SEGS:
> +    case QEMU_IFLA_GSO_MAX_SIZE:
>          u32 = RTA_DATA(rtattr);
>          *u32 = tswap32(*u32);
>          break;
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-17 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-27  1:00 [Qemu-devel] [PATCH] linux-user: manage two new IFLA host message types Laurent Vivier
2016-11-06 15:42 ` Laurent Vivier
2016-11-11 17:42 ` Laurent Vivier
2017-01-17 11:14 ` Laurent Vivier

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.