Searched hist:"109582 af18b9aade9385ea6609a792f80a7d70ca" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | net_namespace.c | diff 109582af18b9aade9385ea6609a792f80a7d70ca Thu May 07 04:02:47 CDT 2015 Nicolas Dichtel <nicolas.dichtel@6wind.com> netns: returns always an id in __peernet2id()
All callers of this function expect a nsid, not an error. Thus, returns NETNSA_NSID_NOT_ASSIGNED in case of error so that callers don't have to convert the error to NETNSA_NSID_NOT_ASSIGNED.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|