1
0
Fork 0
alistair23-linux/include/net/sctp
Vlad Yasevich b68dbcab1d [SCTP]: Fix warning
An alternate solution would be to make the digest a pointer, allocate
it in sctp_endpoint_init() and free it in sctp_endpoint_destroy().

I guess I should have originally done it this way...

  CC [M]  net/sctp/sm_make_chunk.o
net/sctp/sm_make_chunk.c: In function 'sctp_unpack_cookie':
net/sctp/sm_make_chunk.c:1358: warning: initialization discards qualifiers from pointer target type

The reason is that sctp_unpack_cookie() takes a const struct
sctp_endpoint and modifies the digest in it (digest being embedded in
the struct, not a pointer).  Make digest a pointer to fix this
warning.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-12-02 21:21:47 -08:00
..
command.h [SCTP]: Set sk_err so that poll wakes up after a non-blocking connect failure. 2006-05-19 10:58:12 -07:00
constants.h [SCTP]: Remove multiple levels of msecs to jiffies conversions. 2006-09-22 14:55:39 -07:00
sctp.h [SCTP]: Fix receive buffer accounting. 2006-10-11 23:59:44 -07:00
sm.h Fix sctp privilege elevation (CVE-2006-3745) 2006-08-22 12:52:23 -07:00
structs.h [SCTP]: Fix warning 2006-12-02 21:21:47 -08:00
tsnmap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ulpevent.h [SCTP]: Fix receive buffer accounting. 2006-10-11 23:59:44 -07:00
ulpqueue.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
user.h [SCTP]: Verify all the paths to a peer via heartbeat before using them. 2006-07-21 14:48:50 -07:00