Revert "net: avoid potential underflow in qdisc_pkt_len_init() with UFO"
This reverts commit 43c718d118
.
This commit is contained in:
parent
26d0ee6612
commit
839e4817e0
1 changed files with 1 additions and 1 deletions
|
@ -3797,7 +3797,7 @@ static void qdisc_pkt_len_init(struct sk_buff *skb)
|
|||
sizeof(_tcphdr), &_tcphdr);
|
||||
if (likely(th))
|
||||
hdr_len += __tcp_hdrlen(th);
|
||||
} else if (shinfo->gso_type & SKB_GSO_UDP_L4) {
|
||||
} else {
|
||||
struct udphdr _udphdr;
|
||||
|
||||
if (skb_header_pointer(skb, skb_transport_offset(skb),
|
||||
|
|
Loading…
Add table
Reference in a new issue