[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090609.180542.57255165.davem@davemloft.net>
Date: Tue, 09 Jun 2009 18:05:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hawk@...u.dk
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 11/15]: netfilter: Use frag list abstraction interfaces.
From: Jesper Dangaard Brouer <hawk@...u.dk>
Date: Tue, 9 Jun 2009 22:23:52 +0200 (CEST)
>
> On Tue, 9 Jun 2009, David Miller wrote:
>
>> --- a/net/ipv4/netfilter/nf_nat_proto_sctp.c
>> +++ b/net/ipv4/netfilter/nf_nat_proto_sctp.c
>>
>> @@ -57,8 +58,8 @@ sctp_manip_pkt(struct sk_buff *skb,
>> }
>>
>> crc32 = sctp_start_cksum((u8 *)hdr, skb_headlen(skb) - hdroff);
>> - for (skb = skb_shinfo(skb)->frag_list; skb; skb = skb->next)
>> - crc32 = sctp_update_cksum((u8 *)skb->data, skb_headlen(skb),
>> + skb_walk_frags(skb, frag);
>
> Think there is a semi-colon too much here, as skb_walk_frags expand to
> a for-loop statement, Right?
Fixed, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists