X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=net%2Fipv4%2Finet_lro.c;h=85a0f75dae644753676a0e6bd9f1e10ba40823b5;hb=b71d1d426d263b0b6cb5760322efebbfc89d4463;hp=47038cb6c1382a1b1698159714c968e8a71682af;hpb=5f8629c526b4f7e529a6d27bbd802c0dc7fcc357;p=deliverable%2Flinux.git diff --git a/net/ipv4/inet_lro.c b/net/ipv4/inet_lro.c index 47038cb6c138..85a0f75dae64 100644 --- a/net/ipv4/inet_lro.c +++ b/net/ipv4/inet_lro.c @@ -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)