diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2018-04-29 17:56:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-01 18:09:35 +0200 |
commit | 8914f4bace3f3a56f14accb45f9f4b9456670b4a (patch) | |
tree | 2945708f1ade9682bea346649ebe30ca77b9c165 /net/sctp/bind_addr.c | |
parent | sctp: allow sctp_init_cause to return errors (diff) | |
download | linux-8914f4bace3f3a56f14accb45f9f4b9456670b4a.tar.xz linux-8914f4bace3f3a56f14accb45f9f4b9456670b4a.zip |
sctp: add sctp_make_op_error_limited and reuse inner functions
The idea is quite similar to the old functions, but note that the _fixed
function wasn't "fixed" as in that it would generate a packet with a fixed
size, but rather limited/bounded to PMTU.
Also, now with sctp_mtu_payload(), we have a more accurate limit.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/bind_addr.c')
0 files changed, 0 insertions, 0 deletions