qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] e219d3: hw/net: Added plen fix for IPv6


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] e219d3: hw/net: Added plen fix for IPv6
Date: Tue, 21 Jul 2020 09:45:29 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e219d30910d8584868dd5c11df10ba2a1336034c
      
https://github.com/qemu/qemu/commit/e219d30910d8584868dd5c11df10ba2a1336034c
  Author: Andrew <andrew@daynix.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M hw/net/net_tx_pkt.c
    M hw/net/net_tx_pkt.h
    M include/net/eth.h

  Log Message:
  -----------
  hw/net: Added plen fix for IPv6

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1708065
With network backend with 'virtual header' - there was an issue
in 'plen' field. Overall, during TSO, 'plen' would be changed,
but with 'vheader' this field should be set to the size of the
payload itself instead of '0'.

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: 5519724a13664b43e225ca05351c60b4468e4555
      
https://github.com/qemu/qemu/commit/5519724a13664b43e225ca05351c60b4468e4555
  Author: Mauro Matteo Cascella <mcascell@redhat.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M hw/net/xgmac.c

  Log Message:
  -----------
  hw/net/xgmac: Fix buffer overflow in xgmac_enet_send()

A buffer overflow issue was reported by Mr. Ziming Zhang, CC'd here. It
occurs while sending an Ethernet frame due to missing break statements
and improper checking of the buffer size.

Reported-by: Ziming Zhang <ezrakiez@gmail.com>
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: 5252220dbf006969fab377d7ab42c6704d833e8a
      
https://github.com/qemu/qemu/commit/5252220dbf006969fab377d7ab42c6704d833e8a
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M hw/net/net_tx_pkt.c
    M hw/net/net_tx_pkt.h
    M hw/net/xgmac.c
    M include/net/eth.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into 
staging

# gpg: Signature made Tue 21 Jul 2020 14:31:13 BST
# gpg:                using RSA key EF04965B398D6211
# gpg: Good signature from "Jason Wang (Jason Wang on RedHat) 
<jasowang@redhat.com>" [marginal]
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211

* remotes/jasowang/tags/net-pull-request:
  hw/net/xgmac: Fix buffer overflow in xgmac_enet_send()
  hw/net: Added plen fix for IPv6

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/8856755eb807...5252220dbf00



reply via email to

[Prev in Thread] Current Thread [Next in Thread]