WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #59: new file mode 100644 WARNING: line length of 89 exceeds 80 columns #82: FILE: net/quic/connid.c:19: +/* Lookup a source connection ID (scid) in the global source connection ID hash table. */ WARNING: line length of 88 exceeds 80 columns #91: FILE: net/quic/connid.c:28: + if (net == sock_net(s_conn_id->sk) && s_conn_id->common.id.len == len && WARNING: line length of 90 exceeds 80 columns #92: FILE: net/quic/connid.c:29: + !memcmp(scid, &s_conn_id->common.id.data, s_conn_id->common.id.len)) { WARNING: line length of 98 exceeds 80 columns #103: FILE: net/quic/connid.c:40: +/* Check if a given stateless reset token exists in any connection ID in the connection ID set. */ WARNING: line length of 81 exceeds 80 columns #110: FILE: net/quic/connid.c:47: + if (!memcmp(dcid->token, token, QUIC_CONN_ID_TOKEN_LEN)) /* Fast path. */ WARNING: line length of 92 exceeds 80 columns #143: FILE: net/quic/connid.c:80: + /* Freeing is deferred via RCU to avoid use-after-free during concurrent lookups. */ WARNING: line length of 100 exceeds 80 columns #157: FILE: net/quic/connid.c:94: +/* Add a connection ID with sequence number and associated private data to the connection ID set. */ WARNING: line length of 98 exceeds 80 columns #186: FILE: net/quic/connid.c:123: + /* For destination connection IDs, copy the stateless reset token if available. */ WARNING: line length of 94 exceeds 80 columns #192: FILE: net/quic/connid.c:129: + /* For source connection IDs, mark as hashed and insert into the global source WARNING: line length of 90 exceeds 80 columns #199: FILE: net/quic/connid.c:136: + head = quic_source_conn_id_head(sock_net(s_conn_id->sk), common->id.data); WARNING: line length of 94 exceeds 80 columns #221: FILE: net/quic/connid.c:158: +/* Remove connection IDs from the set with sequence numbers less than or equal to a number. */ WARNING: line length of 83 exceeds 80 columns #238: FILE: net/quic/connid.c:175: +struct quic_conn_id *quic_conn_id_find(struct quic_conn_id_set *id_set, u32 number) WARNING: line length of 92 exceeds 80 columns #277: FILE: net/quic/connid.c:214: +void quic_conn_id_get_param(struct quic_conn_id_set *id_set, struct quic_transport_param *p) WARNING: line length of 92 exceeds 80 columns #282: FILE: net/quic/connid.c:219: +void quic_conn_id_set_param(struct quic_conn_id_set *id_set, struct quic_transport_param *p) WARNING: line length of 83 exceeds 80 columns #310: FILE: net/quic/connid.h:19: + struct quic_conn_id id; /* The actual Connection ID value and its length */ WARNING: line length of 82 exceeds 80 columns #311: FILE: net/quic/connid.h:20: + struct list_head list; /* Linked list node for conn_id list management */ WARNING: line length of 84 exceeds 80 columns #312: FILE: net/quic/connid.h:21: + u32 number; /* Sequence number assigned to this Connection ID */ WARNING: line length of 95 exceeds 80 columns #313: FILE: net/quic/connid.h:22: + u8 hashed; /* Non-zero if this ID is stored in source_conn_id hashtable */ WARNING: line length of 86 exceeds 80 columns #318: FILE: net/quic/connid.h:27: + struct hlist_node node; /* Hash table node for fast lookup by Connection ID */ WARNING: line length of 86 exceeds 80 columns #320: FILE: net/quic/connid.h:29: + struct sock *sk; /* Pointer to sk associated with this Connection ID */ WARNING: line length of 99 exceeds 80 columns #325: FILE: net/quic/connid.h:34: + u8 token[QUIC_CONN_ID_TOKEN_LEN]; /* Stateless reset token in rfc9000#section-10.3 */ WARNING: line length of 89 exceeds 80 columns #333: FILE: net/quic/connid.h:42: + struct list_head head; /* Head of the linked list of available connection IDs */ WARNING: line length of 93 exceeds 80 columns #334: FILE: net/quic/connid.h:43: + u8 entry_size; /* Size of each connection ID entry (in bytes) in the list */ WARNING: line length of 88 exceeds 80 columns #335: FILE: net/quic/connid.h:44: + u8 max_count; /* active_connection_id_limit in rfc9000#section-18.2 */ WARNING: line length of 82 exceeds 80 columns #336: FILE: net/quic/connid.h:45: + u8 count; /* Current number of connection IDs in the list */ WARNING: line length of 83 exceeds 80 columns #343: FILE: net/quic/connid.h:52: + common = list_first_entry(&id_set->head, struct quic_common_conn_id, list); WARNING: line length of 91 exceeds 80 columns #358: FILE: net/quic/connid.h:67: +/* Select an alternate destination Connection ID for a new path (e.g., after migration). */ WARNING: line length of 88 exceeds 80 columns #359: FILE: net/quic/connid.h:68: +static inline bool quic_conn_id_select_alt(struct quic_conn_id_set *id_set, bool active) WARNING: line length of 93 exceeds 80 columns #383: FILE: net/quic/connid.h:92: + * QUIC_FRAME_RETIRE_CONNECTION_ID frame to request new connection IDs from the peer. WARNING: line length of 98 exceeds 80 columns #388: FILE: net/quic/connid.h:97: +static inline void quic_conn_id_set_alt(struct quic_conn_id_set *id_set, struct quic_conn_id *alt) WARNING: line length of 91 exceeds 80 columns #393: FILE: net/quic/connid.h:102: +/* Swap the active and alternate destination Connection IDs after path migration completes, WARNING: line length of 92 exceeds 80 columns #404: FILE: net/quic/connid.h:113: +/* Choose which destination Connection ID to use for a new path migration if alt is true. */ WARNING: line length of 95 exceeds 80 columns #405: FILE: net/quic/connid.h:114: +static inline struct quic_conn_id *quic_conn_id_choose(struct quic_conn_id_set *id_set, u8 alt) WARNING: line length of 87 exceeds 80 columns #410: FILE: net/quic/connid.h:119: +static inline struct quic_conn_id *quic_conn_id_active(struct quic_conn_id_set *id_set) WARNING: line length of 82 exceeds 80 columns #431: FILE: net/quic/connid.h:140: +static inline void quic_conn_id_set_token(struct quic_conn_id *conn_id, u8 *token) WARNING: line length of 92 exceeds 80 columns #433: FILE: net/quic/connid.h:142: + memcpy(((struct quic_dest_conn_id *)conn_id)->token, token, QUIC_CONN_ID_TOKEN_LEN); WARNING: line length of 82 exceeds 80 columns #436: FILE: net/quic/connid.h:145: +static inline int quic_conn_id_cmp(struct quic_conn_id *a, struct quic_conn_id *b) WARNING: line length of 83 exceeds 80 columns #441: FILE: net/quic/connid.h:150: +int quic_conn_id_add(struct quic_conn_id_set *id_set, struct quic_conn_id *conn_id, WARNING: line length of 84 exceeds 80 columns #446: FILE: net/quic/connid.h:155: +struct quic_conn_id *quic_conn_id_find(struct quic_conn_id_set *id_set, u32 number); WARNING: line length of 93 exceeds 80 columns #450: FILE: net/quic/connid.h:159: +void quic_conn_id_get_param(struct quic_conn_id_set *id_set, struct quic_transport_param *p); WARNING: line length of 93 exceeds 80 columns #451: FILE: net/quic/connid.h:160: +void quic_conn_id_set_param(struct quic_conn_id_set *id_set, struct quic_transport_param *p); total: 0 errors, 42 warnings, 0 checks, 438 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 31b93bf33ef2 ("quic: add connection id management") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 42 warnings, 0 checks, 438 lines checked