[NET]: Annotate callers of csum_fold() in net/*
[deliverable/linux.git] / net / ipv4 / ip_output.c
index 90942a384a45e9ca958e46f88ef5032f4a863f6d..5f3e35c036379e9d71dc2bb324c171da2c2b41ea 100644 (file)
@@ -1384,7 +1384,7 @@ void ip_send_reply(struct sock *sk, struct sk_buff *skb, struct ip_reply_arg *ar
                       &ipc, rt, MSG_DONTWAIT);
        if ((skb = skb_peek(&sk->sk_write_queue)) != NULL) {
                if (arg->csumoffset >= 0)
-                       *((u16 *)skb->h.raw + arg->csumoffset) = csum_fold(csum_add(skb->csum, arg->csum));
+                       *((__sum16 *)skb->h.raw + arg->csumoffset) = csum_fold(csum_add(skb->csum, arg->csum));
                skb->ip_summed = CHECKSUM_NONE;
                ip_push_pending_frames(sk);
        }
This page took 0.029384 seconds and 5 git commands to generate.