]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85047f53b243e5c649a6c57fe82c35f6c48c9edf
treea2cb4dd60e85416aef3b9617d8d86be523151687
parent228f176268fc68d6885c68107f35486e5651a207
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