[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210609103251.534270-1-dong.menglong@zte.com.cn>
Date: Wed, 9 Jun 2021 18:32:49 +0800
From: menglong8.dong@...il.com
To: jmaloy@...hat.com
Cc: ying.xue@...driver.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net,
linux-kernel@...r.kernel.org,
Menglong Dong <dong.menglong@....com.cn>
Subject: [PATCH v2 net-next 0/2] net: tipc: fix FB_MTU eat two pages and do some code cleanup
From: Menglong Dong <dong.menglong@....com.cn>
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(-)
--
2.32.0
Powered by blists - more mailing lists