summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorCong Wang2018-12-24 06:45:56 +0100
committerDavid S. Miller2018-12-28 01:16:17 +0100
commitdc4501ff287547dea7ca10f1c580c741291a8760 (patch)
tree0a10986ad2cdbfbe097751d9d6183185b5e8f86f /net/ipv6
parentMerge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff)
downloadkernel-qcow2-linux-dc4501ff287547dea7ca10f1c580c741291a8760.tar.gz
kernel-qcow2-linux-dc4501ff287547dea7ca10f1c580c741291a8760.tar.xz
kernel-qcow2-linux-dc4501ff287547dea7ca10f1c580c741291a8760.zip
tipc: fix a double free in tipc_enable_bearer()
bearer_disable() already calls kfree_rcu() to free struct tipc_bearer, we don't need to call kfree() again. Fixes: cb30a63384bc ("tipc: refactor function tipc_enable_bearer()") Reported-by: syzbot+b981acf1fb240c0c128b@syzkaller.appspotmail.com Cc: Ying Xue <ying.xue@windriver.com> Cc: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions