diff options
Diffstat (limited to 'drivers/net/iseries_veth.c')
-rw-r--r-- | drivers/net/iseries_veth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index e44215cb1882..e36e951cbc65 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -1205,7 +1205,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1205 | 1205 | ||
1206 | if ( ! ((1 << rlp) & port->lpar_map) ) { | 1206 | if ( ! ((1 << rlp) & port->lpar_map) ) { |
1207 | dev_kfree_skb(skb); | 1207 | dev_kfree_skb(skb); |
1208 | return 0; | 1208 | return NETDEV_TX_OK; |
1209 | } | 1209 | } |
1210 | 1210 | ||
1211 | lpmask = 1 << rlp; | 1211 | lpmask = 1 << rlp; |
@@ -1217,7 +1217,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1217 | 1217 | ||
1218 | dev_kfree_skb(skb); | 1218 | dev_kfree_skb(skb); |
1219 | 1219 | ||
1220 | return 0; | 1220 | return NETDEV_TX_OK; |
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | /* You must hold the connection's lock when you call this function. */ | 1223 | /* You must hold the connection's lock when you call this function. */ |