Message ID | 20231004-send-net-20231004-v1-2-28de4ac663ae@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | e5ed101a602873d65d2d64edaba93e8c73ec1b0f |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | mptcp: Fixes and maintainer email update for v6.6 | expand |
diff --git a/net/mptcp/pm_userspace.c b/net/mptcp/pm_userspace.c index b5a8aa4c1ebd..d042d32beb4d 100644 --- a/net/mptcp/pm_userspace.c +++ b/net/mptcp/pm_userspace.c @@ -307,12 +307,6 @@ int mptcp_nl_cmd_sf_create(struct sk_buff *skb, struct genl_info *info) goto create_err; } - if (addr_l.id == 0) { - NL_SET_ERR_MSG_ATTR(info->extack, laddr, "missing local addr id"); - err = -EINVAL; - goto create_err; - } - err = mptcp_pm_parse_addr(raddr, info, &addr_r); if (err < 0) { NL_SET_ERR_MSG_ATTR(info->extack, raddr, "error parsing remote addr");