mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
rocker: fix missing break statements
Signed-off-by: Scott Feldman <sfeldma@gmail.com> Reported-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1435746792-41278-3-git-send-email-sfeldma@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
d1a88c96b7
commit
f211fcd75f
1 changed files with 2 additions and 0 deletions
|
@ -193,11 +193,13 @@ static int tx_consume(Rocker *r, DescInfo *info)
|
|||
if (!tlvs[ROCKER_TLV_TX_L3_CSUM_OFF]) {
|
||||
return -ROCKER_EINVAL;
|
||||
}
|
||||
break;
|
||||
case ROCKER_TX_OFFLOAD_TSO:
|
||||
if (!tlvs[ROCKER_TLV_TX_TSO_MSS] ||
|
||||
!tlvs[ROCKER_TLV_TX_TSO_HDR_LEN]) {
|
||||
return -ROCKER_EINVAL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (tlvs[ROCKER_TLV_TX_L3_CSUM_OFF]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue