mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: GKI: fix up build break where timer_delete_sync() was used
We reverted the commit that renamed del_timer_sync() to timer_delete_sync() a long while back, but that broke the build when commit5071beb59e("tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().") was applied. So fix it up to use the old function name instead, allowing the build to work properly. Fixes:5071beb59e("tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().") Change-Id: I88112c8da97506f5c0028119f318ae8f730105fa Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -987,7 +987,7 @@ static bool __inet_csk_reqsk_queue_drop(struct sock *sk,
|
|||||||
{
|
{
|
||||||
bool unlinked = reqsk_queue_unlink(req);
|
bool unlinked = reqsk_queue_unlink(req);
|
||||||
|
|
||||||
if (!from_timer && timer_delete_sync(&req->rsk_timer))
|
if (!from_timer && del_timer_sync(&req->rsk_timer))
|
||||||
reqsk_put(req);
|
reqsk_put(req);
|
||||||
|
|
||||||
if (unlinked) {
|
if (unlinked) {
|
||||||
|
|||||||
Reference in New Issue
Block a user