cnic: Randomize initial TCP port for iSCSI connections
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 8 Jun 2011 19:29:34 +0000 (19:29 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:41:04 +0000 (11:41 -0700)
commitd66f95d5b0a66910ae7d5442a4625bf510de9805
tree4a02d73084e2f20e84308d27d09621f7241f7535
parentc3eaf680aacef62f7a7219b9c8f3f03d7b2269f0
cnic: Randomize initial TCP port for iSCSI connections

commit 11f23aa8ccd56786f0a6f04211cf59b3fab2ce08 upstream.

This reduces the likelihood of port re-use when re-loading the driver.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/cnic.c