mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
RDS: Add a debug message suggesting to load transport modules
Now that RDS transports are no longer compiled-in to RDS core, there is now the possibility that they will not be loaded. This adds a helpful suggestion when rds_bind() fails to find a transport. Signed-off-by: Andy Grover <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
335776bd69
commit
f2c449320d
1 changed files with 3 additions and 0 deletions
|
|
@ -187,6 +187,9 @@ int rds_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
|
|||
if (trans == NULL) {
|
||||
ret = -EADDRNOTAVAIL;
|
||||
rds_remove_bound(rs);
|
||||
if (printk_ratelimit())
|
||||
printk(KERN_INFO "RDS: rds_bind() could not find a transport, "
|
||||
"load rds_tcp or rds_rdma?\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue