]> git.baikalelectronics.ru Git - kernel.git/commit
net: udp: Fix wrong clean up for IS_UDPLITE macro
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 21 Jul 2020 09:11:44 +0000 (17:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:41:49 +0000 (15:41 -0700)
commitb0a422772fec29811e293c7c0e6f991c0fd9241d
tree003888f239bfb73398ce132b00762e6f167f724a
parent9bb5fbea59f36a589ef886292549ca4052fe676c
net: udp: Fix wrong clean up for IS_UDPLITE macro

We can't use IS_UDPLITE to replace udp_sk->pcflag when UDPLITE_RECV_CC is
checked.

Fixes: b2bf1e2659b1 ("[UDP]: Clean up for IS_UDPLITE macro")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c