]> git.neil.brown.name Git - history.git/commit
[SCTP]: Fix multihomed connection failures on 64-bit systems.
authorSridhar Samudrala <sri@us.ibm.com>
Sat, 8 May 2004 08:23:01 +0000 (01:23 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Sat, 8 May 2004 08:23:01 +0000 (01:23 -0700)
commitfbb3aa0df16c9a46bd05481cdae42d309fb42dab
tree0df189bdb7b160e2d4a714164cf1577aa9241556
parent6619be0338da4d642c25a5e96fe1c8ef31e00553
[SCTP]: Fix multihomed connection failures on 64-bit systems.

Avoid the use of sizeof() and pointer arithmetic to get to the end
of sctp_cookie structure. Instead use the last element peer_init which
is a zero-sized array as the offset.
net/sctp/associola.c