]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: fix bug on error path in tipc_topsrv_kern_subscr()
authorJon Maloy <jon.maloy@ericsson.com>
Mon, 19 Feb 2018 11:48:21 +0000 (12:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2018 19:38:08 +0000 (14:38 -0500)
commit34f5cae25fb524dccee35a21ac692e37ae7c4dd2
tree78a40678d31ea2230b01321bb7c50dc84a30fcb7
parentc4152001ca0c50e2f44f594fca89730fd5fb9d53
tipc: fix bug on error path in tipc_topsrv_kern_subscr()

In commit cc1ea9ffadf7 ("tipc: eliminate struct tipc_subscriber") we
re-introduced an old bug on the error path in the function
tipc_topsrv_kern_subscr(). We now re-introduce the correction too.

Reported-by: syzbot+f62e0f2a0ef578703946@syzkaller.appspotmail.com
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/topsrv.c