summaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorVlad Yasevich2006-01-17 20:54:06 +0100
committerSridhar Samudrala2006-01-17 20:54:06 +0100
commit38b0e42aba928d9929a26ec23b850c36a31fca5f (patch)
tree934a3678968b7f5f19bf6543f527c0cef39b25c8 /include/net/sctp
parent[SCTP]: sctp doesn't show all associations/endpoints in /proc (diff)
downloadkernel-qcow2-linux-38b0e42aba928d9929a26ec23b850c36a31fca5f.tar.gz
kernel-qcow2-linux-38b0e42aba928d9929a26ec23b850c36a31fca5f.tar.xz
kernel-qcow2-linux-38b0e42aba928d9929a26ec23b850c36a31fca5f.zip
[SCTP]: Fix sctp_assoc_seq_show() panics on big-endian systems.
This patch corrects the panic by casting the argument to the pointer of correct size. On big-endian systems we ended up loading only 32 bits of data because we are treating the pointer as an int*. By treating this pointer as loff_t*, we'll load the full 64 bits and then let regular integer demotion take place which will give us the correct value. Signed-off-by: Vlad Yaseivch <vladislav.yasevich@hp.com> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'include/net/sctp')
0 files changed, 0 insertions, 0 deletions