summaryrefslogtreecommitdiffstats
path: root/net/sctp/bind_addr.c
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2018-04-29 17:56:32 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-01 18:09:35 +0200
commit8914f4bace3f3a56f14accb45f9f4b9456670b4a (patch)
tree2945708f1ade9682bea346649ebe30ca77b9c165 /net/sctp/bind_addr.c
parentsctp: allow sctp_init_cause to return errors (diff)
downloadlinux-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