]> 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)
commit76bb07c74aa4bb5573520c2384c322c35151acec
tree003888f239bfb73398ce132b00762e6f167f724a
parent26d7d36e611997d6e32e6752f453649046c13ca9
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: 239a54a74982 ("[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