Nicolas Dichtel 109582af18 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>
2015-05-09 22:15:30 -04:00
..
2015-04-18 17:45:30 -04:00
2015-03-02 16:43:41 -05:00
2015-04-02 14:05:00 -04:00
2015-05-05 19:24:42 -04:00
2015-03-06 21:50:02 -05:00
2015-03-31 13:58:35 -04:00
2015-04-25 15:49:49 -04:00
2015-03-02 16:43:41 -05:00
2015-04-13 16:35:16 -04:00
2015-03-02 16:43:41 -05:00
2015-04-11 15:53:35 -04:00
2015-05-04 00:09:09 -04:00
2015-04-26 17:33:59 -07:00
2014-10-07 20:28:44 -04:00
2015-04-15 15:06:56 -04:00