net/smc: fix access to parent of an ib device