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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4649af05-ac31-4c57-a895-39866504b5fb@infradead.org>
Date:   Thu, 18 Jun 2020 16:19:16 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        David Miller <davem@...emloft.net>
Subject: af_decnet.c: missing semi-colon and/or indentation?


Please see lines 1250-1251.


	case TIOCINQ:
		lock_sock(sk);
		skb = skb_peek(&scp->other_receive_queue);
		if (skb) {
			amount = skb->len;
		} else {
			skb_queue_walk(&sk->sk_receive_queue, skb)     <<<<<
				amount += skb->len;                    <<<<<
		}
		release_sock(sk);
		err = put_user(amount, (int __user *)arg);
		break;



or is this some kind of GCC nested function magic?


commit bec571ec762a4cf855ad4446f833086fc154b60e
Author: David S. Miller <davem@...emloft.net>
Date:   Thu May 28 16:43:52 2009 -0700

    decnet: Use SKB queue and list helpers instead of doing it by-hand.



thanks.
-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@...radead.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ