summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2018-04-19 12:25:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-29 07:50:05 +0200
commit6ebd6a11b297191078aa86b6f563f65d7cb53993 (patch)
treea801ba35e23af1e1889d661090702fea41b0803d /net/ipv4/tcp_input.c
parentd6e78baf1df18ec01f7fea0c389600e2f5faad75 (diff)
llc: delete timers synchronously in llc_sk_free()
[ Upstream commit b905ef9ab90115d001c1658259af4b1c65088779 ] The connection timers of an llc sock could be still flying after we delete them in llc_sk_free(), and even possibly after we free the sock. We could just wait synchronously here in case of troubles. Note, I leave other call paths as they are, since they may not have to wait, at least we can change them to synchronously when needed. Also, move the code to net/llc/llc_conn.c, which is apparently a better place. Reported-by: <syzbot+f922284c18ea23a8e457@syzkaller.appspotmail.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions