diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2010-12-07 17:11:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-10 15:29:49 -0800 |
commit | 40a010395cd66053f07bffeb3da5e44683bac30e (patch) | |
tree | f734e8da3145553bd47416d27c33e62435a39e52 /net/sctp/input.c | |
parent | 79aeec5822cea63cf732bbc0c9f3337542352616 (diff) | |
download | kernel_goldelico_gta04-40a010395cd66053f07bffeb3da5e44683bac30e.zip kernel_goldelico_gta04-40a010395cd66053f07bffeb3da5e44683bac30e.tar.gz kernel_goldelico_gta04-40a010395cd66053f07bffeb3da5e44683bac30e.tar.bz2 |
SCTP: Fix SCTP_SET_PEER_PRIMARY_ADDR to accpet v4mapped address
SCTP_SET_PEER_PRIMARY_ADDR does not accpet v4mapped address, using
v4mapped address in SCTP_SET_PEER_PRIMARY_ADDR socket option will
get -EADDRNOTAVAIL error if v4map is enabled. This patch try to
fix it by mapping v4mapped address to v4 address if allowed.
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/input.c')
0 files changed, 0 insertions, 0 deletions