[PATCH] iseries_veth: Don't send packets to LPARs which aren't up
[linux-3.10.git] / drivers / net / iseries_veth.c
index 855f8b2cf13b6f83d1b41011253d514b22e5cc2c..7d0ef2969b4e7419dd840ca1b7147464ecc4c16b 100644 (file)
@@ -924,7 +924,7 @@ static int veth_transmit_to_one(struct sk_buff *skb, HvLpIndex rlp,
 
        spin_lock_irqsave(&cnx->lock, flags);
 
-       if (! cnx->state & VETH_STATE_READY)
+       if (! (cnx->state & VETH_STATE_READY))
                goto drop;
 
        if ((skb->len - 14) > VETH_MAX_MTU)