git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6878fad
)
ofproto-dpif-xlate: Fix rare segfault on switch exit.
author
Ethan Jackson
<ethan@nicira.com>
Thu, 8 Aug 2013 18:08:03 +0000
(11:08 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Thu, 8 Aug 2013 21:01:25 +0000
(14:01 -0700)
Not all 'xport's have 'xbundle's, so this dereference is unsafe.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif-xlate.c
b/ofproto/ofproto-dpif-xlate.c
index
00fc582
..
3050678
100644
(file)
--- a/
ofproto/ofproto-dpif-xlate.c
+++ b/
ofproto/ofproto-dpif-xlate.c
@@
-1493,7
+1493,7
@@
compose_output_action__(struct xlate_ctx *ctx, ofp_port_t ofp_port,
}
ctx->xin->flow = old_flow;
- ctx->xbridge = xport->xb
undle->xb
ridge;
+ ctx->xbridge = xport->xbridge;
if (ctx->xin->resubmit_stats) {
netdev_vport_inc_tx(xport->netdev, ctx->xin->resubmit_stats);