lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ