|
@@ -1755,8 +1755,11 @@ static inline int udp4_csum_init(struct sk_buff *skb, struct udphdr *uh,
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
- return skb_checksum_init_zero_check(skb, proto, uh->check,
|
|
|
- inet_compute_pseudo);
|
|
|
+ /* Note, we are only interested in != 0 or == 0, thus the
|
|
|
+ * force to int.
|
|
|
+ */
|
|
|
+ return (__force int)skb_checksum_init_zero_check(skb, proto, uh->check,
|
|
|
+ inet_compute_pseudo);
|
|
|
}
|
|
|
|
|
|
/*
|