]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Fix ia64 NaT consumption fault with sctp_sideffect commands.
authorVladislav Yasevich <vladislav.yasevich@hp.com>
Sat, 12 Nov 2005 00:07:40 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Nov 2005 00:07:40 +0000 (16:07 -0800)
commit6af7de38e4dadadd3120d9c5267a5419c84c9ba8
treea1e79285a2ab740280435fb11d79e74a3c4afbe2
parentb8c2b04c9e9aaf4d6d8d09ed3b5d3ad9b5c54791
[SCTP]: Fix ia64 NaT consumption fault with sctp_sideffect commands.

On ia64, it is possible to get NaT Consumption Fault and a kernel panic
when initializing sctp sideeffect commands arguments.  The union
sctp_arg_t contains different sized elements and when loading a smaller
sized element (32 or 16 bits), it is possible for a speculative load to
fail and result in a NaT bit set which causes a kernel crash.  The easy
way to get around it is to load the largerst member of the union.

Signed-off-by: Vladislav Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/command.h