WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #56: new file mode 100644 WARNING: line length of 89 exceeds 80 columns #79: 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 #87: FILE: net/quic/connid.c:27: + if (net == sock_net(s_conn_id->sk) && s_conn_id->common.id.len == len && WARNING: line length of 88 exceeds 80 columns #88: FILE: net/quic/connid.c:28: + !memcmp(scid, &s_conn_id->common.id.data, s_conn_id->common.id.len)) WARNING: line length of 98 exceeds 80 columns #96: FILE: net/quic/connid.c:36: +/* 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 #103: FILE: net/quic/connid.c:43: + if (!memcmp(dcid->token, token, QUIC_CONN_ID_TOKEN_LEN)) /* Fast path. */ WARNING: line length of 92 exceeds 80 columns #136: FILE: net/quic/connid.c:76: + /* Freeing is deferred via RCU to avoid use-after-free during concurrent lookups. */ WARNING: line length of 100 exceeds 80 columns #150: FILE: net/quic/connid.c:90: +/* Add a connection ID with sequence number and associated private data to the connection ID set. */ WARNING: line length of 83 exceeds 80 columns #164: FILE: net/quic/connid.c:104: + return 0; /* Ignore if it is already exists on the list. */ WARNING: line length of 98 exceeds 80 columns #179: FILE: net/quic/connid.c:119: + /* For destination connection IDs, copy the stateless reset token if available. */ WARNING: line length of 94 exceeds 80 columns #185: FILE: net/quic/connid.c:125: + /* For source connection IDs, mark as hashed and insert into the global source WARNING: line length of 90 exceeds 80 columns #192: FILE: net/quic/connid.c:132: + head = quic_source_conn_id_head(sock_net(s_conn_id->sk), common->id.data); WARNING: line length of 94 exceeds 80 columns #214: FILE: net/quic/connid.c:154: +/* Remove connection IDs from the set with sequence numbers less than or equal to a number. */ WARNING: line length of 83 exceeds 80 columns #231: FILE: net/quic/connid.c:171: +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 #270: FILE: net/quic/connid.c:210: +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 #275: FILE: net/quic/connid.c:215: +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 #303: 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 #304: 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 #305: FILE: net/quic/connid.h:21: + u32 number; /* Sequence number assigned to this Connection ID */ WARNING: line length of 95 exceeds 80 columns #306: 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 #311: 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 #313: 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 #318: 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 #326: 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 #327: 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 #328: 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 #329: FILE: net/quic/connid.h:45: + u8 count; /* Current number of connection IDs in the list */ WARNING: line length of 83 exceeds 80 columns #336: 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 #351: 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 #352: 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 #376: 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 #381: 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 #386: 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 #397: 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 #398: 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 #403: 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 #424: 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 #426: 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 #429: 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 #434: 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 #439: 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 #443: 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 #444: 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, 43 warnings, 0 checks, 434 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 cf21a44e8343 ("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, 43 warnings, 0 checks, 434 lines checked