|
@@ -434,12 +434,11 @@ static u32 rds_ib_protocol_compatible(struct rdma_cm_event *event)
|
|
|
version = RDS_PROTOCOL_3_0;
|
|
|
while ((common >>= 1) != 0)
|
|
|
version++;
|
|
|
- }
|
|
|
- printk_ratelimited(KERN_NOTICE "RDS: Connection from %pI4 using "
|
|
|
- "incompatible protocol version %u.%u\n",
|
|
|
- &dp->dp_saddr,
|
|
|
- dp->dp_protocol_major,
|
|
|
- dp->dp_protocol_minor);
|
|
|
+ } else
|
|
|
+ printk_ratelimited(KERN_NOTICE "RDS: Connection from %pI4 using incompatible protocol version %u.%u\n",
|
|
|
+ &dp->dp_saddr,
|
|
|
+ dp->dp_protocol_major,
|
|
|
+ dp->dp_protocol_minor);
|
|
|
return version;
|
|
|
}
|
|
|
|