]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09707fddfe4bcda98f1700f41206bbf9c26b8077
tree5185d120079012222b201155fc27b596c94ccbf2
parentc9df2ed6f65ca17d4510d32037b0ebc23735b166
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