sctp: add pad chunk and its make function and event table
authorXin Long <lucien.xin@gmail.com>
Tue, 22 Jun 2021 18:04:47 +0000 (14:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 18:28:51 +0000 (11:28 -0700)
commit745a32117b5a0799ce1dd28d5a74dc2b7bf37692
tree5185d120079012222b201155fc27b596c94ccbf2
parentaff0824dc4d6ef5ee164c0e98e64d91731ca585b
sctp: add pad chunk and its make function and event table

This chunk is defined in rfc4820#section-3, and used to pad an
SCTP packet. The receiver must discard this chunk and continue
processing the rest of the chunks in the packet.

Add it now, as it will be bundled with a heartbeat chunk to probe
pmtu in the following patches.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
include/net/sctp/sm.h
net/sctp/sm_make_chunk.c
net/sctp/sm_statetable.c