Skip to content

Commit

Permalink
core: Fix comment on size limits
Browse files Browse the repository at this point in the history
We introduced size limits in 2c820c5 ("core: Limit maximum size of
an assembled MCTP message").

Signed-off-by: Andrew Jeffery <[email protected]>
Change-Id: I9553027ddba65c344d29b4f7fd7817d6ff93f454
  • Loading branch information
amboar committed Nov 6, 2020
1 parent 4622cad commit 5a50891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static int mctp_msg_ctx_add_pkt(struct mctp_msg_ctx *ctx,
size_t new_alloc_size;
void *lbuf;

/* @todo: finer-grained allocation, size limits */
/* @todo: finer-grained allocation */
if (!ctx->buf_alloc_size) {
new_alloc_size = 4096;
} else {
Expand Down

0 comments on commit 5a50891

Please sign in to comment.