net/ice: fix possible null pointer dereference