inet: constify ip headers and in6_addr
[deliverable/linux.git] / net / ipv4 / inet_lro.c
index 47038cb6c1382a1b1698159714c968e8a71682af..85a0f75dae644753676a0e6bd9f1e10ba40823b5 100644 (file)
@@ -51,8 +51,8 @@ MODULE_DESCRIPTION("Large Receive Offload (ipv4 / tcp)");
  * Basic tcp checks whether packet is suitable for LRO
  */
 
-static int lro_tcp_ip_check(struct iphdr *iph, struct tcphdr *tcph,
-                           int len, struct net_lro_desc *lro_desc)
+static int lro_tcp_ip_check(const struct iphdr *iph, const struct tcphdr *tcph,
+                           int len, const struct net_lro_desc *lro_desc)
 {
         /* check ip header: don't aggregate padded frames */
        if (ntohs(iph->tot_len) != len)
This page took 0.025545 seconds and 5 git commands to generate.