]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/net/virtio-net.c
Merge remote-tracking branch 'remotes/hdeller/tags/target-hppa-pull-request' into...
[mirror_qemu.git] / hw / net / virtio-net.c
index a1fe9e928533751ca33c119aab0c6434694f5165..cb0d27084c1000bdd8b02ebdf174d83158ac7fb7 100644 (file)
@@ -2075,7 +2075,6 @@ static int virtio_net_rsc_tcp_ctrl_check(VirtioNetRscChain *chain,
     tcp_flag = htons(tcp->th_offset_flags);
     tcp_hdr = (tcp_flag & VIRTIO_NET_TCP_HDR_LENGTH) >> 10;
     tcp_flag &= VIRTIO_NET_TCP_FLAG;
-    tcp_flag = htons(tcp->th_offset_flags) & 0x3F;
     if (tcp_flag & TH_SYN) {
         chain->stat.tcp_syn++;
         return RSC_BYPASS;