git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd41: sunrpc: move struct rpc_buffer def into sunrpc.h
[safe/jmp/linux-2.6]
/
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;