projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
isofs: Fix unbounded recursion when processing relocated directories
[firefly-linux-kernel-4.4.55.git]
/
include
/
rdma
/
ib_addr.h
diff --git
a/include/rdma/ib_addr.h
b/include/rdma/ib_addr.h
index 639a4491fc0dd8fcf4e26931f2c6e8d1c7ed0566..99965395c5f3a5cebb645a67f76681985ce3da84 100644
(file)
--- a/
include/rdma/ib_addr.h
+++ b/
include/rdma/ib_addr.h
@@
-281,7
+281,7
@@
static inline u16 rdma_get_vlan_id(union ib_gid *dgid)
static inline struct net_device *rdma_vlan_dev_real_dev(const struct net_device *dev)
{
return dev->priv_flags & IFF_802_1Q_VLAN ?
- vlan_dev_real_dev(dev) :
0
;
+ vlan_dev_real_dev(dev) :
NULL
;
}
#endif /* IB_ADDR_H */