commit | 914e1c8b6980c516667375d3e55f0b6e674c8c58 | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vladislav.yasevich@hp.com> | Fri Feb 13 08:33:44 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 16 00:03:11 2009 -0800 |
tree | d61194143a112ace85f6e6dfc22bc01d7173f62e | |
parent | faee47cdbfe8d74a1573c2f81ea6dbb08d735be6 [diff] |
sctp: Inherit all socket options from parent correctly. During peeloff/accept() sctp needs to save the parent socket state into the new socket so that any options set on the parent are inherited by the child socket. This was found when the parent/listener socket issues SO_BINDTODEVICE, but the data was misrouted after a route cache flush. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>