aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorDavid L Stevens <david.stevens@oracle.com>2014-07-25 10:30:11 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-28 17:29:53 -0700
commit8266f5fcf015101fbeb73cbc152c9d208c2baec0 (patch)
tree3508b7da82362d26fbd9c44b7eeedfd7dbcbed23 /drivers/net/vxlan.c
parentMerge tag 'linux-can-fixes-for-3.16-20140725' of git://gitorious.org/linux-can/linux-can (diff)
downloadlinux-dev-8266f5fcf015101fbeb73cbc152c9d208c2baec0.tar.xz
linux-dev-8266f5fcf015101fbeb73cbc152c9d208c2baec0.zip
sunvnet: only use connected ports when sending
The sunvnet driver doesn't check whether or not a port is connected when transmitting packets, which results in failures if a port fails to connect (e.g., due to a version mismatch). The original code also assumes unnecessarily that the first port is up and a switch, even though there is a flag for switch ports. This patch only matches a port if it is connected, and otherwise uses the switch_port flag to send the packet to a switch port that is up. Signed-off-by: David L Stevens <david.stevens@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions