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
|
@ -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…
Reference in a new issue