projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Use NULL for null pointer in compat code.
[openvswitch]
/
datapath
/
linux-2.6
/
compat-2.6
/
include
/
net
/
dst.h
diff --git
a/datapath/linux-2.6/compat-2.6/include/net/dst.h
b/datapath/linux-2.6/compat-2.6/include/net/dst.h
index e51ac1d694e2f60da7eebcc7de5190298e9a7bdb..f481a9d3f181f6598f7dc1932d7b4b091627cddd 100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/include/net/dst.h
+++ b/
datapath/linux-2.6/compat-2.6/include/net/dst.h
@@
-9,7
+9,7
@@
static inline void skb_dst_drop(struct sk_buff *skb)
{
if (skb->dst)
dst_release(skb_dst(skb));
{
if (skb->dst)
dst_release(skb_dst(skb));
- skb->dst =
0U
L;
+ skb->dst =
NUL
L;
}
#endif
}
#endif