]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/ipv4/ip_output.c
net: Use helper macro IP_MAX_MTU in __ip_append_data()
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 29 Aug 2020 09:09:18 +0000 (05:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 19:33:16 +0000 (12:33 -0700)
commitcbc08a33126f8f721d30cf9034c4d444b55de60a
treea2cb4dd60e85416aef3b9617d8d86be523151687
parent4d4dce31ef1adab72e6a22f0cac179d28c499aad
net: Use helper macro IP_MAX_MTU in __ip_append_data()

What 0xFFFF means here is actually the max mtu of a ip packet. Use help
macro IP_MAX_MTU here.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c