void * sw_alloc_entry(void)
{
void *__s;
__s = (void *)kmem_cache_alloc(sw_turbo_net_cache,0x20) //possible issue identified - semgrep
if (__s == (void *)0x0) {
printk("Soft Turbo net: failed to alloc new entry\n");
}
else {
memset(__s,0,4) //possible issue identified - semgrep
}
return __s;
}