git://git.onelab.eu
/
sliver-openvswitch.git
/ 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.
[sliver-openvswitch.git]
/
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
e51ac1d
..
f481a9d
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));
- skb->dst =
0U
L;
+ skb->dst =
NUL
L;
}
#endif