Re: tcp: Checking a kmemdup() call in tcp_time_wait()
From: Markus Elfring
Date: Mon Oct 14 2019 - 02:51:57 EST
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/ipv4/tcp_minisocks.c?id=1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a#n306
>> https://elixir.bootlin.com/linux/v5.4-rc2/source/net/ipv4/tcp_minisocks.c#L306
â
> Presumably the BUG would trigger if a really disturbing bug happened.
How âbuggyâ is this place if the function call âkmemdupâ failed?
Can an other error reporting approach be nicer here?
Regards,
Markus