macsec: add missing NULL check after kmalloc
Fixes: c09440f7 ("macsec: introduce IEEE 802.1AE driver") Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NSabrina Dubroca <sd@queasysnail.net> Acked-by: NHannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录