summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2020-07-21 17:50:42 +0200
committerPeter Maydell2020-07-21 17:50:42 +0200
commit5252220dbf006969fab377d7ab42c6704d833e8a (patch)
tree77f83022dfe04c63c66930bc1698d5914b8e9394 /include
parentMerge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-07-21' into ... (diff)
parenthw/net/xgmac: Fix buffer overflow in xgmac_enet_send() (diff)
downloadqemu-5252220dbf006969fab377d7ab42c6704d833e8a.tar.gz
qemu-5252220dbf006969fab377d7ab42c6704d833e8a.tar.xz
qemu-5252220dbf006969fab377d7ab42c6704d833e8a.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/eth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/eth.h b/include/net/eth.h
index 7f45c678e7..0671be6916 100644
--- a/include/net/eth.h
+++ b/include/net/eth.h
@@ -186,6 +186,7 @@ struct tcp_hdr {
#define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt
#define ip6_ecn_acc ip6_ctlun.ip6_un3.ip6_un3_ecn
+#define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen
#define PKT_GET_ETH_HDR(p) \
((struct eth_header *)(p))