]> git.hungrycats.org Git - linux/commit
[SCTP] Avoid the use of constant SCTP_IP_OVERHEAD to determine the
authorSridhar Samudrala <sri@us.ibm.com>
Mon, 19 Apr 2004 03:36:56 +0000 (20:36 -0700)
committerSridhar Samudrala <sri@us.ibm.com>
Mon, 19 Apr 2004 03:36:56 +0000 (20:36 -0700)
commitfe27663798f93789f23b7bcafcb5f8c9da09ec17
tree77cc9d1a80605ea59e5f1a28d143e4fd572f10c1
parent321fe6f8b00db387f7e05ed5be8d21fff028dbbb
[SCTP] Avoid the use of constant SCTP_IP_OVERHEAD to determine the
max data size in a SCTP packet.

Calculate the overhead based on the socket's protocol family header
length.
include/net/sctp/constants.h
include/net/sctp/sctp.h
include/net/sctp/structs.h
net/sctp/chunk.c
net/sctp/output.c
net/sctp/outqueue.c
net/sctp/socket.c
net/sctp/ulpevent.c