Thread (5 messages) flat view 5 messages, 2 authors, 2021-06-09

Re: [PATCH v2 net-next 0/2] net: tipc: fix FB_MTU eat two pages and do some code cleanup

From: Jon Maloy <jmaloy@redhat.com>
Date: 2021-06-09 10:47:55
Also in: lkml


On 6/9/21 6:32 AM, menglong8.dong@gmail.com wrote:
From: Menglong Dong <redacted>

In the first patch, FB_MTU is redefined to make sure data size will not
exceed PAGE_SIZE. Besides, I removed the alignment for buf_size in
tipc_buf_acquire, because skb_alloc_fclone will do the alignment job.

In the second patch, I removed align() in msg.c and replace it with
ALIGN().




Menglong Dong (2):
   net: tipc: fix FB_MTU eat two pages
   net: tipc: replace align() with ALIGN in msg.c

  net/tipc/bcast.c |  2 +-
  net/tipc/msg.c   | 31 ++++++++++++++-----------------
  net/tipc/msg.h   |  3 ++-
  3 files changed, 17 insertions(+), 19 deletions(-)
NACK.
You must have missed my last mail before you sent out this.  We have to 
define a separate macro for bcast.c, since those buffers sometimes will 
need encryption.
Sorry for the confusion.
///jon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help