mbox series

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

Message ID 20210628063745.3935-1-dong.menglong@zte.com.cn (mailing list archive)
Headers show
Series net: tipc: fix FB_MTU eat two pages and do some code cleanup | expand

Message

Menglong Dong June 28, 2021, 6:37 a.m. UTC
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().

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

Comments

patchwork-bot+netdevbpf@kernel.org June 28, 2021, 8:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sun, 27 Jun 2021 23:37:43 -0700 you wrote:
> 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().
> 
> [...]

Here is the summary with links:
  - [v6,net-next,1/2] net: tipc: fix FB_MTU eat two pages
    https://git.kernel.org/netdev/net-next/c/0c6de0c943db
  - [v6,net-next,2/2] net: tipc: replace align() with ALIGN in msg.c
    https://git.kernel.org/netdev/net-next/c/d4cfb7fe5713

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html