projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8245f0c
)
brcompat: Use ENOMEM to indicate out-of-memory (not EINVAL).
author
Ben Pfaff
<blp@nicira.com>
Thu, 1 Jan 2009 18:08:28 +0000
(10:08 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 1 Jan 2009 18:10:07 +0000
(10:10 -0800)
datapath/brcompat.c
patch
|
blob
|
history
diff --git
a/datapath/brcompat.c
b/datapath/brcompat.c
index ac117abbe5e571d65f163b0a30907c3bf7497d75..78c83edd57b43bedb475de892d2f4a731dff440c 100644
(file)
--- a/
datapath/brcompat.c
+++ b/
datapath/brcompat.c
@@
-361,7
+361,7
@@
int brc_send_dp_add_del(const char *dp_name, int add)
nla_put_failure:
err:
kfree_skb(skb);
- return -E
INVAL
;
+ return -E
NOMEM
;
}
int brc_send_port_add_del(struct net_device *dev, struct net_device *port,