packet.7: Minor fixes to Carsten's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-29 14:05:37 +02:00
parent 43f5be18ff
commit 17e5494f9b
1 changed files with 5 additions and 5 deletions

View File

@ -319,20 +319,20 @@ original fanout algorithm selects a backlogged socket, the packet
rolls over to the next available one.
.TP
.BR PACKET_LOSS " (with " PACKET_TX_RING )
When a malformed packet is encountered on a transmit ring, the default is
to reset its
When a malformed packet is encountered on a transmit ring,
the default is to reset its
.I tp_status
to
.BR TP_STATUS_WRONG_FORMAT
and abort the transmission immediately.
The malformed packet blocks itself and subsequent enqueued packets from
The malformed packet blocks itself and subsequently enqueued packets from
being sent.
The format error must be fixed, the associated
.I tp_status
reset to
.BR TP_STATUS_SEND_REQUEST
.BR TP_STATUS_SEND_REQUEST ,
and the transmission process restarted via
.BR send (2) .
.BR send (2).
However, if
.BR PACKET_LOSS
is set, any malformed packet will be skipped, its