aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statefuns.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-30net: add <net/proto_memory.h>Eric Dumazet1-0/+1
2023-06-12sctp: fix an error code in sctp_sf_eat_auth()Dan Carpenter1-1/+1
2023-04-21sctp: delete the nested flexible array hmacXin Long1-1/+1
2023-04-21sctp: delete the nested flexible array peer_initXin Long1-5/+3
2023-04-21sctp: delete the nested flexible array variableXin Long1-1/+1
2023-04-21sctp: delete the nested flexible array paramsXin Long1-1/+1
2022-11-17sctp: sm_statefuns: Remove pointer casts of the same typeLi zeming1-1/+1
2022-06-10net: keep sk->sk_forward_alloc as small as possibleEric Dumazet1-2/+0
2022-04-08sctp: use the correct skb for security_sctp_assoc_requestXin Long1-3/+3
2022-02-15security: add sctp_assoc_established hookOndrej Mosnacek1-3/+5
2021-11-25sctp: make the raise timer more simple and accurateXin Long1-6/+5
2021-11-12net,lsm,selinux: revert the security_sctp_assoc_established() hookPaul Moore1-1/+1
2021-11-07sctp: remove unreachable code from sctp_sf_violation_chunk()Alexey Khoroshilov1-3/+0
2021-11-03security: add sctp_assoc_established hookXin Long1-1/+1
2021-11-03security: call security_sctp_assoc_request in sctp_sf_do_5_1D_ceXin Long1-0/+5
2021-11-03security: pass asoc to sctp_assoc_request and sctp_sk_cloneXin Long1-13/+13
2021-10-22sctp: add vtag check in sctp_sf_ootbXin Long1-0/+3
2021-10-22sctp: add vtag check in sctp_sf_do_8_5_1_E_saXin Long1-6/+3
2021-10-22sctp: add vtag check in sctp_sf_violationXin Long1-0/+3
2021-10-22sctp: fix the processing for COOKIE_ECHO chunkXin Long1-4/+10
2021-10-22sctp: fix the processing for INIT_ACK chunkXin Long1-18/+19
2021-10-22sctp: fix the processing for INIT chunkXin Long1-26/+46
2021-10-22sctp: use init_tag from inithdr for ABORT chunkXin Long1-0/+1
2021-07-25sctp: improve the code for pmtu probe send and recv updateXin Long1-8/+7
2021-06-24sctp: send the next probe immediately once the last one is ackedXin Long1-1/+4
2021-06-22sctp: do state transition when a probe succeeds on HB ACK recv pathXin Long1-1/+1
2021-06-22sctp: do state transition when PROBE_COUNT == MAX_PROBES on HB send pathXin Long1-0/+2
2021-06-22sctp: do the basic send and recv for PLPMTUD probeXin Long1-2/+18
2021-06-22sctp: add the probe timer in transport for PLPMTUDXin Long1-0/+17
2021-05-31sctp: sm_statefuns: Fix spelling mistakesZheng Yongjun1-15/+15
2021-05-03sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_bXin Long1-1/+2
2021-05-03Revert "Revert "sctp: Fix bundling of SHUTDOWN with COOKIE-ACK""Xin Long1-3/+3
2021-04-30sctp: do asoc update earlier in sctp_sf_do_dupcook_bXin Long1-17/+30
2021-04-30Revert "sctp: Fix bundling of SHUTDOWN with COOKIE-ACK"Xin Long1-3/+3
2021-04-30sctp: do asoc update earlier in sctp_sf_do_dupcook_aXin Long1-5/+20
2021-03-28sm_statefuns.c: Mundane spello fixesBhaskar Chowdhury1-5/+5
2020-10-30sctp: handle the init chunk matching an existing asocXin Long1-0/+50
2020-10-30sctp: allow changing transport encap_port by peer packetsXin Long1-0/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-05-22sctp: Start shutdown on association restart if in SHUTDOWN-SENT state and soc...Jere Leppänen1-4/+5
2020-04-22sctp: Fix bundling of SHUTDOWN with COOKIE-ACKJere Leppänen1-3/+3
2020-02-17sctp: move the format error check out of __sctp_sf_do_9_1_abortXin Long1-9/+20
2019-12-27sctp: do trace_sctp_probe after SACK validation and checkKevin Kou1-9/+9
2019-12-09sctp: get netns from asoc and ep baseXin Long1-1/+1
2019-11-23sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcookNavid Emamdoost1-1/+3
2019-08-19sctp: check asoc peer.asconf_capable before processing asconfXin Long1-2/+4
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104Thomas Gleixner1-16/+1
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+27
2019-05-01sctp: avoid running the sctp state machine recursivelyXin Long1-8/+27
2019-04-15sctp: implement memory accounting on rx pathXin Long1-2/+4
2018-05-07sctp: delay the authentication for the duplicated cookie-echo chunkXin Long1-40/+46
2018-05-02sctp: use the old asoc when making the cookie-ack chunk in dupcook_dXin Long1-1/+1
2018-05-02sctp: init active key for the new asoc in dupcook_a and dupcook_bXin Long1-0/+6
2018-04-06Merge tag 'selinux-pr-20180403' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+18
2018-03-14sctp: add SCTP_AUTH_NO_AUTH type for AUTHENTICATION_EVENTXin Long1-2/+41
2018-03-14sctp: add SCTP_AUTH_FREE_KEY type for AUTHENTICATION_EVENTXin Long1-1/+1
2018-03-14sctp: add refcnt support for sh_keyXin Long1-4/+7
2018-02-26sctp: Add LSM hooksRichard Haines1-0/+18
2018-01-02net: sctp: Add SCTP ACK tracking trace eventMasami Hiramatsu1-0/+5
2017-12-15sctp: implement validate_ftsn for sctp_stream_interleaveXin Long1-16/+8
2017-12-11sctp: implement validate_data for sctp_stream_interleaveXin Long1-13/+8
2017-08-11sctp: remove the typedef sctp_disposition_tXin Long1-640/+674
2017-08-11sctp: remove the typedef sctp_verb_tXin Long1-1/+1
2017-08-11sctp: remove the typedef sctp_arg_tXin Long1-1/+1
2017-08-11sctp: remove the typedef sctp_cmd_seq_tXin Long1-107/+109
2017-08-11sctp: remove the typedef sctp_sender_hb_info_tXin Long1-7/+5
2017-08-06sctp: remove the typedef sctp_subtype_tXin Long1-95/+96
2017-08-06sctp: remove the typedef sctp_ierror_tXin Long1-13/+15
2017-08-03sctp: remove the typedef sctp_auth_chunk_tXin Long1-4/+5
2017-08-03sctp: remove the typedef sctp_addip_chunk_tXin Long1-4/+7
2017-08-03sctp: remove the typedef sctp_addiphdr_tXin Long1-5/+5
2017-08-03sctp: remove the typedef sctp_cwrhdr_tXin Long1-3/+3
2017-08-03sctp: remove the typedef sctp_ecne_chunk_tXin Long1-2/+2
2017-08-03sctp: remove the typedef sctp_ecnehdr_tXin Long1-3/+3
2017-08-03sctp: remove the typedef sctp_error_tXin Long1-1/+1
2017-08-03sctp: remove the typedef sctp_operr_chunk_tXin Long1-2/+2
2017-08-03sctp: remove the typedef sctp_errhdr_tXin Long1-14/+15
2017-08-03sctp: fix the name of struct sctp_shutdown_chunk_tXin Long1-8/+8
2017-08-03sctp: remove the typedef sctp_shutdownhdr_tXin Long1-5/+5
2017-07-24sctp: remove the typedef sctp_abort_chunk_tXin Long1-4/+4
2017-07-24sctp: remove the typedef sctp_heartbeat_chunk_tXin Long1-1/+2
2017-07-24sctp: remove the typedef sctp_heartbeathdr_tXin Long1-1/+1
2017-07-24sctp: remove the typedef sctp_sack_chunk_tXin Long1-2/+2
2017-07-24sctp: remove the typedef sctp_sackhdr_tXin Long1-1/+1
2017-07-24sctp: remove the typedef sctp_unrecognized_param_tXin Long1-11/+7
2017-07-24sctp: remove the typedef sctp_initack_chunk_tXin Long1-7/+6
2017-07-16sctp: remove the typedef sctp_cookie_preserve_param_tXin Long1-6/+5
2017-07-01sctp: remove the typedef sctp_init_chunk_tXin Long1-14/+14
2017-07-01sctp: remove the typedef sctp_inithdr_tXin Long1-6/+6
2017-07-01sctp: remove the typedef sctp_data_chunk_tXin Long1-3/+3
2017-07-01sctp: remove the typedef sctp_datahdr_tXin Long1-5/+8
2017-07-01sctp: remove the typedef sctp_paramhdr_tXin Long1-3/+3
2017-07-01sctp: remove the typedef sctp_chunkhdr_tXin Long1-33/+34
2017-06-16networking: make skb_push & __skb_push return void pointersJohannes Berg1-2/+2
2017-06-02sctp: define the member stream as an object instead of pointer in asocXin Long1-4/+4
2017-05-24sctp: set new_asoc temp when processing dupcookieXin Long1-0/+3
2017-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+3
2017-04-01sctp: use right in and out stream cntXin Long1-3/+3
2017-03-12sctp: implement receiver-side procedures for the Reconf Response ParameterXin Long1-3/+3
2017-03-12sctp: implement receiver-side procedures for the Add Incoming Streams Request...Xin Long1-0/+3
2017-03-12sctp: implement receiver-side procedures for the Add Outgoing Streams Request...Xin Long1-0/+3
2017-03-12sctp: implement receiver-side procedures for the SSN/TSN Reset Request ParameterXin Long1-0/+3
2017-02-19sctp: add reconf chunk processXin Long1-0/+54
2017-02-06sctp: process fwd tsn chunk only when prsctp is enabledXin Long1-0/+6
2017-01-18sctp: add stream reconf primitiveXin Long1-0/+13
2017-01-18sctp: add stream reconf timerXin Long1-0/+28
2017-01-06sctp: prepare asoc stream for stream reconfXin Long1-2/+1
2016-12-28sctp: sctp_chunk_length_valid should return boolMarcelo Ricardo Leitner1-8/+7
2016-12-28sctp: remove return value from sctp_packet_init/configMarcelo Ricardo Leitner1-2/+3
2016-12-28sctp: reduce indent level in sctp_sf_shut_8_4_5Marcelo Ricardo Leitner1-30/+28
2016-12-28sctp: reduce indent level at sctp_sf_tabort_8_4_8Marcelo Ricardo Leitner1-23/+21
2016-10-29sctp: validate chunk len before actually using itMarcelo Ricardo Leitner1-6/+6
2016-09-22sctp: rename WORD_TRUNC/ROUND macrosMarcelo Ricardo Leitner1-3/+3
2016-07-13sctp: only check for ECN if peer is using itMarcelo Ricardo Leitner1-3/+2
2016-07-13sctp: avoid identifying address family many times for a chunkMarcelo Ricardo Leitner1-5/+2
2016-07-13sctp: allow GSO frags to access the chunk tooMarcelo Ricardo Leitner1-1/+2
2016-01-11sctp: fix use-after-free in pr_debug statementMarcelo Ricardo Leitner1-13/+4
2015-12-30sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp...Xin Long1-2/+4
2015-12-06sctp: start t5 timer only when peer rwnd is 0 and local state is SHUTDOWN_PEN...lucien1-1/+2
2015-10-05net: sctp: avoid incorrect time_t useArnd Bergmann1-1/+1
2015-07-21sctp: fix cut and paste issue in commentMarcelo Ricardo Leitner1-1/+1
2014-10-14net: sctp: fix remote memory pressure from excessive queueingDaniel Borkmann1-0/+3
2014-10-14net: sctp: fix skb_over_panic when receiving malformed ASCONF chunksDaniel Borkmann1-16/+2
2014-10-06sctp: handle association restarts when the socket is closed.Vlad Yasevich1-3/+16
2014-07-15net: sctp: remove unnecessary break after return/gotoFabian Frederick1-4/+0
2014-04-18net: sctp: cache auth_enable per endpointVlad Yasevich1-3/+3
2014-04-14Revert "net: sctp: Fix a_rwnd/rwnd management to reflect real state of the re...Daniel Borkmann1-1/+1
2014-03-05net: sctp: fix skb leakage in COOKIE ECHO path of chunk->auth_chunkDaniel Borkmann1-5/+0
2014-03-03net: sctp: fix sctp_sf_do_5_1D_ce to verify if we/peer is AUTH capableDaniel Borkmann1-0/+7
2014-02-17net: sctp: Fix a_rwnd/rwnd management to reflect real state of the receiver's...Matija Glavinic Pecotic1-1/+1
2013-12-26sctp: fix checkpatch errors with indentwangweidong1-3/+2
2013-12-26sctp: fix checkpatch errors with (foo*)|foo * bar|foo* barwangweidong1-1/+1
2013-12-26sctp: fix checkpatch errors with space required or prohibitedwangweidong1-10/+10
2013-12-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+6
2013-12-10sctp: properly latch and use autoclose value from sock to associationNeil Horman1-6/+6
2013-12-06sctp: Fix FSF address in file headersJeff Kirsher1-3/+2
2013-08-09net: sctp: trivial: update bug report in header commentDaniel Borkmann1-6/+0
2013-07-24net: sctp: trivial: update mailing list addressDaniel Borkmann1-1/+1
2013-07-01net: sctp: rework debugging framework to use pr_debug and friendsDaniel Borkmann1-30/+47
2013-06-14net: sctp: sctp_sf_do_prm_asoc: do SCTP_CMD_INIT_CHOOSE_TRANSPORT firstDaniel Borkmann1-4/+4
2013-03-13sctp: Use correct sideffect command in duplicate cookie handlingVlad Yasevich1-1/+1
2013-01-27sctp: set association state to established in dupcook_a handlerXufeng Zhang1-1/+3
2012-12-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2012-12-03sctp: Add support to per-association statistics via a new SCTP_GET_ASSOC_STAT...Michele Baldessari1-2/+8
2012-11-30sctp: verify length provided in heartbeat information parameterThomas Graf1-2/+8
2012-11-19treewide: fix typo of "suport" in various comments and KconfigMasanari Iida1-1/+1
2012-10-04sctp: check src addr when processing SACK to update transport stateNicolas Dichtel1-1/+1
2012-08-14sctp: Make sysctl tunables per netEric W. Biederman1-2/+2
2012-08-14sctp: Push struct net down into sctp_verify_ext_paramEric W. Biederman1-3/+3
2012-08-14sctp: Push struct net down into all of the state machine functionsEric W. Biederman1-281/+338
2012-08-14sctp: Push struct net down into sctp_transport_initEric W. Biederman1-1/+1
2012-08-14sctp: Make the mib per network namespaceEric W. Biederman1-65/+98
2012-08-14sctp: Make the ctl_sock per network namespaceEric W. Biederman1-14/+31
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-10/+8
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-2/+2
2011-09-22Merge branch 'master' of github.com:davem330/netDavid S. Miller1-0/+6
2011-09-16sctp: deal with multiple COOKIE_ECHO chunksMax Matveev1-0/+6
2011-08-24sctp: Bundle HEAERTBEAT into ASCONF_ACKMichio Honda1-0/+5
2011-07-14Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-9/+23
2011-07-07sctp: Enforce retransmission limit during shutdownThomas Graf1-9/+23
2011-07-01sctp: Reduce switch/case indentJoe Perches1-25/+26
2011-05-31sctp: stop pending timers and purge queues when peer restart asocWei Yongjun1-2/+12
2011-04-21sctp: implement event notification SCTP_SENDER_DRY_EVENTWei Yongjun1-0/+24
2011-04-20sctp: make heartbeat information in sctp_make_heartbeat()Wei Yongjun1-10/+1
2011-04-20sctp: fix to check the source address of COOKIE-ECHO chunkWei Yongjun1-9/+5
2011-04-20sctp: handle ootb packet in chunk order as definedShan Wei1-0/+21
2011-04-20sctp: check invalid value of length parameter in error causeShan Wei1-1/+8
2011-04-20sctp: check parameter value of length in ERROR chunkShan Wei1-0/+5
2011-04-19sctp: fix the comment of sctp_sf_violation_paramlen()Shan Wei1-2/+3
2011-03-31Fix common misspellingsLucas De Marchi1-10/+10
2010-09-09Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-23/+23
2010-09-09sctp: fix test for end of loopJoe Perches1-23/+23
2010-08-26net/sctp: Use pr_fmt and pr_<level>Joe Perches1-10/+10
2010-04-28sctp: Fix oops when sending queued ASCONF chunksVlad Yasevich1-1/+7
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2009-12-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2009-12-07Merge branch 'for-next' into for-linusJiri Kosina1-1/+1
2009-12-04tree-wide: fix some typos and punctuation in commentsThadeu Lima de Souza Cascardo1-1/+1
2009-11-23sctp: Remove useless last_time_used variableVlad Yasevich1-2/+3
2009-11-23sctp: Fix malformed "Invalid Stream Identifier" errorVlad Yasevich1-5/+8
2009-11-23sctp: implement the receiver side for SACK-IMMEDIATELY extensionWei Yongjun1-2/+6
2009-11-13sctp: Set source addresses on the association before adding transportsVlad Yasevich1-6/+9
2009-09-04sctp: Catch bogus stream sequence numbersVlad Yasevich1-2/+26
2009-09-04sctp: Failover transmitted list on transport deleteVlad Yasevich1-0/+6
2009-09-04sctp: Fix error count increments that were results of HEARTBEATSVlad Yasevich1-1/+1
2009-09-04sctp: fix check the chunk length of received HEARTBEAT-ACK chunkWei Yongjun1-1/+2
2009-09-04sctp: drop SHUTDOWN chunk if the TSN is less than the CTSNWei Yongjun1-1/+15
2009-09-04sctp: Send user messages to the lower layer as oneVlad Yasevich1-2/+2
2009-09-04sctp: Disallow new connection on a closing socketVlad Yasevich1-0/+9
2009-06-03sctp: fix panic when T4-rto timer expire on removed transportWei Yongjun1-1/+3
2009-06-03sctp: fix panic when T2-shutdown timer expire on removed transportWei Yongjun1-3/+7
2009-03-05Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-14/+2
2009-03-02sctp: Fix broken RTO-doubling for data retransmitsVlad Yasevich1-2/+4
2009-03-02sctp: fix kernel panic with ERROR chunk containing too many error causesWei Yongjun1-14/+2
2009-01-06trivial: fix then -> than typos in comments and documentationFrederik Schwarzer1-3/+3
2008-12-25sctp: Avoid memory overflow while FWD-TSN chunk is received with bad stream IDWei Yongjun1-0/+14
2008-10-31net: replace NIPQUAD() in net/*/Harvey Harrison1-3/+2
2008-10-29net: replace %p6 with %pI6Harvey Harrison1-1/+1
2008-10-28net, misc: replace uses of NIP6_FMT with %p6Harvey Harrison1-3/+2
2008-10-23sctp: Fix to handle SHUTDOWN in SHUTDOWN_RECEIVED stateWei Yongjun1-0/+45