git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6
[pandora-kernel.git]
/
net
/
sched
/
act_skbedit.c
diff --git
a/net/sched/act_skbedit.c
b/net/sched/act_skbedit.c
index
fe9777e
..
4ab916b
100644
(file)
--- a/
net/sched/act_skbedit.c
+++ b/
net/sched/act_skbedit.c
@@
-104,8
+104,8
@@
static int tcf_skbedit_init(struct nlattr *nla, struct nlattr *est,
if (!pc) {
pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind,
&skbedit_idx_gen, &skbedit_hash_info);
- if (
unlikely(!
pc))
-
return -ENOMEM
;
+ if (
IS_ERR(
pc))
+
return PTR_ERR(pc)
;
d = to_skbedit(pc);
ret = ACT_P_CREATED;