projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d0c34
)
mpls: Better error code for unsupported option.
author
Eric W. Biederman
<ebiederm@xmission.com>
Sat, 7 Mar 2015 22:22:40 +0000
(16:22 -0600)
committer
David S. Miller
<davem@davemloft.net>
Sun, 8 Mar 2015 23:30:06 +0000
(19:30 -0400)
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mpls/af_mpls.c
b/net/mpls/af_mpls.c
index 0f2833e1b233ccc7330a4b701e2ed28a3c962521..5c99e3fc1b72fd676844e9b4559a17e46defa0d2 100644
(file)
--- a/
net/mpls/af_mpls.c
+++ b/
net/mpls/af_mpls.c
@@
-348,7
+348,7
@@
static int mpls_route_add(struct mpls_route_config *cfg)
goto errout;
/* Append makes no sense with mpls */
- err = -E
INVAL
;
+ err = -E
OPNOTSUPP
;
if (cfg->rc_nlflags & NLM_F_APPEND)
goto errout;