2.4.36-stable kernel tree
リビジョン | 366592901204f1ca8422b591b7de1ffe0f78d51a (tree) |
---|---|
日時 | 2007-04-23 00:44:37 |
作者 | Urs Thermann <urs@isno...> |
コミッター | Willy Tarreau |
[PATCH] recent patch to fib_semantics broke build
Fix label name.
@@ -431,10 +431,8 @@ fib_create_info(const struct rtmsg *r, struct kern_rta *rta, | ||
431 | 431 | const int nhs = 1; |
432 | 432 | #endif |
433 | 433 | |
434 | - if (r->rtm_type > RTN_MAX) { | |
435 | - err = -EINVAL; | |
436 | - goto errout; | |
437 | - } | |
434 | + if (r->rtm_type > RTN_MAX) | |
435 | + goto err_inval; | |
438 | 436 | |
439 | 437 | /* Fast check to catch the most weird cases */ |
440 | 438 | if (fib_props[r->rtm_type].scope > r->rtm_scope) |