From: Stephen Hemminger Date: Tue, 19 Aug 2008 04:32:32 +0000 (-0700) Subject: nf_nat: use secure_ipv4_port_ephemeral() for NAT port randomization X-Git-Tag: v2.6.27-rc4~39^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f593653742d1dd816c4e94c6e5154a57ccba6d1;p=pandora-kernel.git nf_nat: use secure_ipv4_port_ephemeral() for NAT port randomization Use incoming network tuple as seed for NAT port randomization. This avoids concerns of leaking net_random() bits, and also gives better port distribution. Don't have NAT server, compile tested only. Signed-off-by: Stephen Hemminger [ added missing EXPORT_SYMBOL_GPL ] Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed