diff options
Diffstat (limited to 'drivers/s390/net/qeth_main.c')
-rw-r--r-- | drivers/s390/net/qeth_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 778ddfb99077..b41a53816e92 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c | |||
@@ -4719,8 +4719,8 @@ qeth_send_packet(struct qeth_card *card, struct sk_buff *skb) | |||
4719 | rc = qeth_do_send_packet(card, queue, new_skb, hdr, | 4719 | rc = qeth_do_send_packet(card, queue, new_skb, hdr, |
4720 | elements_needed, ctx); | 4720 | elements_needed, ctx); |
4721 | else { | 4721 | else { |
4722 | if ((skb->protocol == htons(ETH_P_ARP)) && | 4722 | if ((!card->options.layer2) && |
4723 | (card->dev->flags & IFF_NOARP)) { | 4723 | (ipv == 0)) { |
4724 | __qeth_free_new_skb(skb, new_skb); | 4724 | __qeth_free_new_skb(skb, new_skb); |
4725 | return -EPERM; | 4725 | return -EPERM; |
4726 | } | 4726 | } |