In the Linux kernel, the following vulnerability has been resolved:
net: txgbe: fix memory leak in txgbe_probe() error path
When txgbeswinit() is called, memory is allocated for wx->rsskey in wxinitrsskey(). However, in txgbeprobe() function, the subsequent error paths after txgbeswinit() don't free the rsskey. Fix that by freeing it in error path along with wx->mac_table.
Also change the label to which execution jumps when txgbeswinit() fails, because otherwise, it could lead to a double free for rsskey, when the mactable allocation fails in wxswinit().