You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[SK_BUFF]: Introduce udp_hdr(), remove skb->h.uh
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d9edf9e2be
commit
4bedb45203
@@ -1422,7 +1422,7 @@ static int ioc3_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
csoff = ETH_HLEN + (ih->ihl << 2);
|
||||
if (proto == IPPROTO_UDP) {
|
||||
csoff += offsetof(struct udphdr, check);
|
||||
skb->h.uh->check = csum;
|
||||
udp_hdr(skb)->check = csum;
|
||||
}
|
||||
if (proto == IPPROTO_TCP) {
|
||||
csoff += offsetof(struct tcphdr, check);
|
||||
|
||||
Reference in New Issue
Block a user