summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorGirish Moodalbail <girish.moodalbail@oracle.com>2017-04-27 14:11:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-14 14:06:01 +0200
commit5a5b34164f93d5cb002a9eb6a9a8024e24e5e299 (patch)
treed19600ca1302f9d1e405dc3e2b8822131d8e094b /drivers/net/phy/phy_device.c
parent011fbfb296e4cfcd5769fb3f84ae2f263b1faac1 (diff)
downloadblackbird-op-linux-5a5b34164f93d5cb002a9eb6a9a8024e24e5e299.tar.gz
blackbird-op-linux-5a5b34164f93d5cb002a9eb6a9a8024e24e5e299.zip
geneve: fix incorrect setting of UDP checksum flag
[ Upstream commit 5e0740c445e6ae4026f5e52456ff8d0be9725183 ] Creating a geneve link with 'udpcsum' set results in a creation of link for which UDP checksum will NOT be computed on outbound packets, as can be seen below. 11: gen0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN link/ether c2:85:27:b6:b4:15 brd ff:ff:ff:ff:ff:ff promiscuity 0 geneve id 200 remote 192.168.13.1 dstport 6081 noudpcsum Similarly, creating a link with 'noudpcsum' set results in a creation of link for which UDP checksum will be computed on outbound packets. Fixes: 9b4437a5b870 ("geneve: Unify LWT and netdev handling.") Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud