From: Al Viro Date: Tue, 21 Nov 2006 01:03:01 +0000 (-0800) Subject: [SCTP] bug: sctp_assoc_control_transport() breakage X-Git-Tag: v2.6.20-rc1~34^2~40^2~229 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0906e20fa03afdb14faf7fd166bfe4ed67c8db55;p=pandora-kernel.git [SCTP] bug: sctp_assoc_control_transport() breakage a) struct sockaddr_storage * passed to sctp_ulpevent_make_peer_addr_change() actually points at union sctp_addr field in a structure. Then that sucker gets copied to userland, with whatever junk we might have there. b) it's actually having host-endian sin_port. Signed-off-by: Al Viro Signed-off-by: David S. Miller --- Reading git-diff-tree failed