From: Ben Greear Date: Thu, 2 Sep 2010 00:06:02 +0000 (-0700) Subject: cifs: Allow binding to local IP address. X-Git-Tag: v2.6.37-rc1~158^2~22^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eb9a8893a76cf1cda3b41c3212eb2cfe83eae0e;p=pandora-kernel.git cifs: Allow binding to local IP address. When using multi-homed machines, it's nice to be able to specify the local IP to use for outbound connections. This patch gives cifs the ability to bind to a particular IP address. Usage: mount -t cifs -o srcaddr=192.168.1.50,user=foo, ... Usage: mount -t cifs -o srcaddr=2002::100:1,user=foo, ... Acked-by: Jeff Layton Acked-by: Dr. David Holder Signed-off-by: Ben Greear Signed-off-by: Steve French --- Reading git-diff-tree failed