Searched hist:d9d59089c43fc33eb403cbb928e56c131f191dd5 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/openvswitch/ |
H A D | vport-netdev.c | diff d9d59089c43fc33eb403cbb928e56c131f191dd5 Tue Jan 22 01:57:26 CST 2013 Jesse Gross <jesse@nicira.com> openvswitch: Move LRO check from transmit to receive.
The check for LRO packets was incorrectly put in the transmit path instead of on receive. Since this check is supposed to protect OVS (and other parts of the system) from packets that it cannot handle it is obviously not useful on egress. Therefore, this commit moves it back to the receive side.
The primary problem that this caused is upcalls to userspace tried to segment the packet even though no segmentation information is available. This would later cause NULL pointer dereferences when skb_gso_segment() did nothing.
Signed-off-by: Jesse Gross <jesse@nicira.com>
|