projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvswitch: fix odd_ptr_err.cocci warnings
[cascardo/linux.git]
/
net
/
openvswitch
/
vport-gre.c
diff --git
a/net/openvswitch/vport-gre.c
b/net/openvswitch/vport-gre.c
index
28f54e9
..
d4168c4
100644
(file)
--- a/
net/openvswitch/vport-gre.c
+++ b/
net/openvswitch/vport-gre.c
@@
-186,7
+186,7
@@
static int gre_tnl_send(struct vport *vport, struct sk_buff *skb)
/* Push Tunnel header. */
skb = __build_header(skb, tunnel_hlen);
if (IS_ERR(skb)) {
- err = PTR_ERR(
rt
);
+ err = PTR_ERR(
skb
);
skb = NULL;
goto err_free_rt;
}