]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Use correct address family in sctp_getsockopt_peer_addrs()
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 1 May 2010 01:42:42 +0000 (21:42 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 1 May 2010 01:42:42 +0000 (21:42 -0400)
commitde3bf3fb75f2a2126c913f77b171b30b0b355ecb
tree7810a501cb7936897f59970ceb0d1170ba30526a
parentb09e7b32e72c907b22d5edafd14e084538e09a97
sctp: Use correct address family in sctp_getsockopt_peer_addrs()

The function should use the address family of the address when
trying to determine the length of the structure.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/socket.c