https://github.com/torvalds/linux
Revision 40a010395cd66053f07bffeb3da5e44683bac30e authored by Wei Yongjun on 07 December 2010, 17:11:09 UTC, committed by David S. Miller on 10 December 2010, 23:29:49 UTC
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>
1 parent 79aeec5
History
Tip revision: 40a010395cd66053f07bffeb3da5e44683bac30e authored by Wei Yongjun on 07 December 2010, 17:11:09 UTC
SCTP: Fix SCTP_SET_PEER_PRIMARY_ADDR to accpet v4mapped address
Tip revision: 40a0103
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 178.1 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top