commit | b9fd683982c9d190cbccd8a32d885bf84bb4a12d | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Mon May 14 14:34:36 2018 -0300 |
committer | David S. Miller <davem@davemloft.net> | Mon May 14 22:57:14 2018 -0400 |
tree | 5a7199d94b91d17c06839b624dcc370ebdbd6a41 | |
parent | 98f3697f8d4129366b5215e47719581db2d54df2 [diff] |
sctp: add sctp_packet_singleton Factor out the code for generating singletons. It's used only once, but helps to keep the context contained. The const variables are to ease the reading of subsequent calls in there. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>