From: Daniel Borkmann Date: Tue, 9 Apr 2013 03:47:15 +0000 (+0000) Subject: net: ipv6: also allow token to be set when device not ready X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc403832f7bd94014fe3d965e0652a857160f1c9;p=pandora-kernel.git net: ipv6: also allow token to be set when device not ready When we set the iftoken in inet6_set_iftoken(), we return -EINVAL when the device does not have flag IF_READY. This is however not necessary and rather an artificial usability barrier, since we simply can set the token despite that, and in case the device is ready, we just send out our rs, otherwise ifup et al. will do this for us anyway. Suggested-by: Hannes Frederic Sowa Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed