linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] net: tipc: fix FB_MTU eat two pages and do some code cleanup
@ 2021-06-09 10:32 menglong8.dong
  2021-06-09 10:32 ` [PATCH v2 net-next 1/2] net: tipc: fix FB_MTU eat two pages menglong8.dong
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: menglong8.dong @ 2021-06-09 10:32 UTC (permalink / raw)
  To: jmaloy
  Cc: ying.xue, davem, kuba, netdev, tipc-discussion, linux-kernel,
	Menglong Dong

From: Menglong Dong <dong.menglong@zte.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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-09 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 10:32 [PATCH v2 net-next 0/2] net: tipc: fix FB_MTU eat two pages and do some code cleanup menglong8.dong
2021-06-09 10:32 ` [PATCH v2 net-next 1/2] net: tipc: fix FB_MTU eat two pages menglong8.dong
2021-06-09 10:32 ` [PATCH v2 net-next 2/2] net: tipc: replace align() with ALIGN in msg.c menglong8.dong
2021-06-09 10:47 ` [PATCH v2 net-next 0/2] net: tipc: fix FB_MTU eat two pages and do some code cleanup Jon Maloy
2021-06-09 12:56   ` Menglong Dong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).