git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
net
/
pkt_cls.h
diff --git
a/include/net/pkt_cls.h
b/include/net/pkt_cls.h
index
4abda6a
..
b902d24
100644
(file)
--- a/
include/net/pkt_cls.h
+++ b/
include/net/pkt_cls.h
@@
-352,10
+352,10
@@
tcf_change_indev(struct tcf_proto *tp, char *indev, struct rtattr *indev_tlv)
static inline int
tcf_match_indev(struct sk_buff *skb, char *indev)
{
static inline int
tcf_match_indev(struct sk_buff *skb, char *indev)
{
- if (
0 !=
indev[0]) {
- if (
NULL ==
skb->input_dev)
+ if (indev[0]) {
+ if (
!
skb->input_dev)
return 0;
return 0;
-
else if (0 !=
strcmp(indev, skb->input_dev->name))
+
if (
strcmp(indev, skb->input_dev->name))
return 0;
}
return 0;
}