[ovs-git] [openvswitch/ovs] 5a6bec: ip6_gre: Fix a bug that clears address bits
noreply at github.com
Fri Jun 7 15:57:28 UTC 2019
Author: Yifeng Sun <pkusunyifeng at gmail.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
ip6_gre: Fix a bug that clears address bits
In compatible gre module, skb->cb is solely used as ovs_gso_cb.
However, IPCB(skb) also points to skb->cb. IPCB(skb)->flags overlaps
with ovs_gso_cb.tun_dst. As a result, this bug clears the 16-23 bit
in the address of ovs_gso_cb.tun_dst and causes kernel to crash.
Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Tested-by: Greg Rose <gvrose8192 at gmail.com>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
More information about the git