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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140717.145056.746494607843911465.davem@davemloft.net>
Date:	Thu, 17 Jul 2014 14:50:56 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	therbert@...gle.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/9] gue: Support for Generic UDP
 Encapsulation RX path

From: Tom Herbert <therbert@...gle.com>
Date: Wed, 16 Jul 2014 21:14:30 -0700 (PDT)

> +static inline struct gue *gue_from_sock(struct sock *sk)
> +{
> +	return (struct gue *)sk->sk_user_data;
> +}

Casting a void pointer like this is never appropriate.
--
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