]> git.baikalelectronics.ru Git - kernel.git/commit
SCTP: Add scope_id validation for link-local binds
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 3 Jul 2007 18:29:23 +0000 (14:29 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 6 Jul 2007 00:40:15 +0000 (17:40 -0700)
commitc1cf4790dea44b228cdc9dd4554e5738c003fd32
treedfe9ae301c96947e7bde1c9a69b5d0b376901ebb
parent026c099d283f4f69239f55f0f75d2fc097dba4b9
SCTP: Add scope_id validation for link-local binds

SCTP currently permits users to bind to link-local addresses,
but doesn't verify that the scope id specified at bind matches
the interface that the address is configured on.  It was report
that this can hang a system.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c