aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-11-20 14:23:59 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-11-24 07:55:19 -0500
commit2c77526beb133f1155996c3398661c26d01950d7 (patch)
tree0323c8c9799a56e1c41268c6f3826b92a17f3bd8
parent4f1981a1ff46b7aeb801c4c524ff76e93d9ce022 (diff)
downloadvirtio-text-2c77526beb133f1155996c3398661c26d01950d7.tar.gz
virtio-net: add missing articles for new hdr_len feature
And tweak a sentence slightly. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r--content.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/content.tex b/content.tex
index b820298..9c35b68 100644
--- a/content.tex
+++ b/content.tex
@@ -3102,8 +3102,8 @@ checksum includes the header), and \field{csum_offset} will be 16.
\begin{itemize}
\item If the VIRTIO_NET_F_GUEST_HDRLEN feature has been negotiated,
\field{hdr_len} indicates the header length that needs to be replicated
- for each packet. It's a number of bytes from beginning of the packet
- to beginning of the transport payload.
+ for each packet. It's the number of bytes from the beginning of the packet
+ to the beginning of the transport payload.
Otherwise, if the VIRTIO_NET_F_GUEST_HDRLEN feature has not been negotiated,
\field{hdr_len} is a hint to the device as to how much of the header
needs to be kept to copy into each packet, usually set to the
@@ -3219,7 +3219,7 @@ been negotiated:
\begin{note}
Caution should be taken by the implementation so as to prevent
- malicious driver from attacking the device by setting incorrect hdr_len.
+ a malicious driver from attacking the device by setting an incorrect hdr_len.
\end{note}
\item If the VIRTIO_NET_F_GUEST_HDRLEN feature has not been negotiated,