Message ID | CAG53R5WZh2NTQ_FPE0RQ-vuSb11LVhgyFpSLsgLtP04qQOkyLQ@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff --git a/drivers/infiniband/sw/rxe/rxe_sysfs.c b/drivers/infiniband/sw/rxe/rxe_sysfs.c index cf8e778..7f4e0f3 100644 --- a/drivers/infiniband/sw/rxe/rxe_sysfs.c +++ b/drivers/infiniband/sw/rxe/rxe_sysfs.c @@ -90,7 +90,11 @@ static int rxe_param_set_add(const char *val, const struct kernel_param *kp) err = -EINVAL; goto err; } - + if (netif_is_bridge_master(ndev)) { + pr_err("bridge device %s is unsupported\n", intf); + err = -EINVAL; + goto err; + } if (net_to_rxe(ndev)) { pr_err("rxe: already configured on %s\n", intf);