projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3764070
)
[RTNETLINK]: Fix warning for !CONFIG_KMOD
author
Thomas Graf
<tgraf@suug.ch>
Tue, 31 Jul 2007 21:13:50 +0000
(14:13 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 31 Jul 2007 21:13:50 +0000
(14:13 -0700)
replay label is unused otherwise.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c
patch
|
blob
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index 06eccca8cb5d305e0a6d2750e724cc65f0666235..4756d5857abfb9010a55610423f967d129ae45f4 100644
(file)
--- a/
net/core/rtnetlink.c
+++ b/
net/core/rtnetlink.c
@@
-952,7
+952,9
@@
static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
struct nlattr *linkinfo[IFLA_INFO_MAX+1];
int err;
+#ifdef CONFIG_KMOD
replay:
+#endif
err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy);
if (err < 0)
return err;