Thread (4 messages) flat view 4 messages, 2 authors, 2021-06-28
STALE1870d

Revision v6 of 3 in this series.

Revisions (3)
  1. v2 [diff vs current]
  2. v5 [diff vs current]
  3. v6 current

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

From: <hidden>
Date: 2021-06-28 06:37:21
Also in: lkml

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().

Changes since V5:
- remove blank line after Fixes in commit log in the first patch

Changes since V4:
- remove ONE_PAGE_SKB_SZ and replace it with one_page_mtu in the first
  patch.
- fix some code style problems for the second patch.


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   | 27 +++++++++++----------------
 net/tipc/msg.h   |  3 ++-
 3 files changed, 14 insertions(+), 18 deletions(-)

-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help