ionic: only save good lif dentry
authorShannon Nelson <snelson@pensando.io>
Fri, 20 Mar 2020 02:31:50 +0000 (19:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 02:56:04 +0000 (19:56 -0700)
commit0e1825f48ca7d38b7957b231148c7bd8c55fefed
tree47c61ff71670c9d9f56ebbb7fb1bca032661ed55
parent2530ba5af6040b24ad94818a188df1083a9aac0f
ionic: only save good lif dentry

Don't save the lif->dentry until we know we have
a good value.

Fixes: 1a58e196467f ("ionic: Add basic lif support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_debugfs.c