ipv6 sit: Set relay to 0.0.0.0 directly if relay_prefixlen == 0.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Sun, 11 Oct 2009 03:45:13 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2009 06:41:10 +0000 (23:41 -0700)
commit91b2a3f9bb0fa8d64b365a10b0624b0341e1a338
tree0152d7f1a7a38b74d6d55085fc34d01f86635e70
parente7db38c38fe8df1d890ae772737e27308bdc5956
ipv6 sit: Set relay to 0.0.0.0 directly if relay_prefixlen == 0.

ipv6 sit: Set relay to 0.0.0.0 directly if relay_prefixlen == 0.

Do not use bit-shift if relay_prefixlen == 0;
relay_prefix << 32 does not result in 0.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c