[NETFILTER]: add some consts, remove some casts
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / ipv4 / netfilter / ipt_REJECT.c
index 5c3270d325f373463edf8dea4c882d967c376897..90f7b70937853d3d9f27b0acb6a9423fa35fd227 100644 (file)
@@ -122,7 +122,7 @@ static void send_reset(struct sk_buff *oldskb, int hook)
        tcph->check = 0;
        tcph->check = tcp_v4_check(sizeof(struct tcphdr),
                                   niph->saddr, niph->daddr,
-                                  csum_partial((char *)tcph,
+                                  csum_partial(tcph,
                                                sizeof(struct tcphdr), 0));
 
        /* Set DF, id = 0 */