diff options
Diffstat (limited to 'drivers/s390/net/qeth_main.c')
-rw-r--r-- | drivers/s390/net/qeth_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 8a07d548a05a..df7f279ec408 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c | |||
@@ -4053,7 +4053,8 @@ qeth_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, | |||
4053 | skb->dst->neighbour->primary_key, 16); | 4053 | skb->dst->neighbour->primary_key, 16); |
4054 | } else { | 4054 | } else { |
4055 | /* fill in destination address used in ip header */ | 4055 | /* fill in destination address used in ip header */ |
4056 | memcpy(hdr->hdr.l3.dest_addr, &skb->nh.ipv6h->daddr, 16); | 4056 | memcpy(hdr->hdr.l3.dest_addr, |
4057 | &ipv6_hdr(skb)->daddr, 16); | ||
4057 | } | 4058 | } |
4058 | } else { /* passthrough */ | 4059 | } else { /* passthrough */ |
4059 | if((skb->dev->type == ARPHRD_IEEE802_TR) && | 4060 | if((skb->dev->type == ARPHRD_IEEE802_TR) && |