diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-20 10:27:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-20 10:27:41 +0100 |
commit | 2b1c4354de72ced917d2f3fe88117613f992234b (patch) | |
tree | 3e7643cad45d94e3c331366418532043bd4fa5a9 /net/sctp | |
parent | net: reorder struct Qdisc for better SMP performance (diff) | |
parent | bas_gigaset: correctly allocate USB interrupt transfer buffer (diff) | |
download | linux-2b1c4354de72ced917d2f3fe88117613f992234b.tar.xz linux-2b1c4354de72ced917d2f3fe88117613f992234b.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/virtio_net.c
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/endpointola.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 4c8d9f45ce09..905fda582b92 100644 --- a/net/sctp/endpointola.c +++ b/net/sctp/endpointola.c @@ -111,7 +111,8 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, if (sctp_addip_enable) { auth_chunks->chunks[0] = SCTP_CID_ASCONF; auth_chunks->chunks[1] = SCTP_CID_ASCONF_ACK; - auth_chunks->param_hdr.length += htons(2); + auth_chunks->param_hdr.length = + htons(sizeof(sctp_paramhdr_t) + 2); } } |