On 08/30/2010 10:40 PM, Ben Greear wrote:
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, ...
I tested IPv6 and IPv4 and it seems to work as designed.
checkpatch warns of a few long lines, but I saw no way to
break them up w/out adding even worse (IMO) cruft. But,
I can change that if it's important.
Please let me know if any other changes are needed.
Thanks,
Ben
--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html