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: <eb3ff54b0803180203h18cda4ceja6ae28033638d338@mail.gmail.com>
Date:	Tue, 18 Mar 2008 11:03:04 +0200
From:	"Rami Rosen" <ramirose@...il.com>
To:	"David Miller" <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] [IPV6] remove unused parameter (struct sock parameter) from ip6_route_output()

Hi,
This patch removes the struct sock parameter from ip6_route_output();
looking at the ip6_route_output() implementation in net/ipv6/route.c
will show immediately that it is not used in this method.

In fact, icmp.c and ip6_output.c are the only places in the kernel
where the sk (struct sock) parameter passed to ip6_route_output() is not NULL;
anyhow, as explained above, this parameter is unused; changing
the ip6_route_output() prototype by omitting the struct sock parameter
does not break anything.


Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@...il.com>

View attachment "patch.txt" of type "text/plain" (5991 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ