aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/qeth_eddp.c4
-rw-r--r--drivers/s390/net/qeth_eddp.h3
-rw-r--r--drivers/s390/net/qeth_main.c5
-rw-r--r--drivers/s390/net/qeth_sys.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/s390/net/qeth_eddp.c b/drivers/s390/net/qeth_eddp.c
index dd7034fbfff8..4640f32daae5 100644
--- a/drivers/s390/net/qeth_eddp.c
+++ b/drivers/s390/net/qeth_eddp.c
@@ -620,10 +620,10 @@ qeth_eddp_create_context_tcp(struct qeth_card *card, struct sk_buff *skb,
620 620
621struct qeth_eddp_context * 621struct qeth_eddp_context *
622qeth_eddp_create_context(struct qeth_card *card, struct sk_buff *skb, 622qeth_eddp_create_context(struct qeth_card *card, struct sk_buff *skb,
623 struct qeth_hdr *qhdr) 623 struct qeth_hdr *qhdr, unsigned char sk_protocol)
624{ 624{
625 QETH_DBF_TEXT(trace, 5, "creddpc"); 625 QETH_DBF_TEXT(trace, 5, "creddpc");
626 switch (skb->sk->sk_protocol){ 626 switch (sk_protocol) {
627 case IPPROTO_TCP: 627 case IPPROTO_TCP:
628 return qeth_eddp_create_context_tcp(card, skb, qhdr); 628 return qeth_eddp_create_context_tcp(card, skb, qhdr);
629 default: 629 default:
diff --git a/drivers/s390/net/qeth_eddp.h b/drivers/s390/net/qeth_eddp.h
index 103768d3bab2..52910c9252c0 100644
--- a/drivers/s390/net/qeth_eddp.h
+++ b/drivers/s390/net/qeth_eddp.h
@@ -34,7 +34,8 @@ struct qeth_eddp_context_reference {
34}; 34};
35 35
36extern struct qeth_eddp_context * 36extern struct qeth_eddp_context *
37qeth_eddp_create_context(struct qeth_card *,struct sk_buff *,struct qeth_hdr *); 37qeth_eddp_create_context(struct qeth_card *,struct sk_buff *,
38 struct qeth_hdr *, unsigned char);
38 39
39extern void 40extern void
40qeth_eddp_put_context(struct qeth_eddp_context *); 41qeth_eddp_put_context(struct qeth_eddp_context *);
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c
index 6fd8870551d3..032483513027 100644
--- a/drivers/s390/net/qeth_main.c
+++ b/drivers/s390/net/qeth_main.c
@@ -4490,7 +4490,8 @@ qeth_send_packet(struct qeth_card *card, struct sk_buff *skb)
4490 qeth_fill_header(card, hdr, new_skb, ipv, cast_type); 4490 qeth_fill_header(card, hdr, new_skb, ipv, cast_type);
4491 } 4491 }
4492 if (large_send == QETH_LARGE_SEND_EDDP) { 4492 if (large_send == QETH_LARGE_SEND_EDDP) {
4493 ctx = qeth_eddp_create_context(card, new_skb, hdr); 4493 ctx = qeth_eddp_create_context(card, new_skb, hdr,
4494 skb->sk->sk_protocol);
4494 if (ctx == NULL) { 4495 if (ctx == NULL) {
4495 __qeth_free_new_skb(skb, new_skb); 4496 __qeth_free_new_skb(skb, new_skb);
4496 PRINT_WARN("could not create eddp context\n"); 4497 PRINT_WARN("could not create eddp context\n");
@@ -6651,7 +6652,7 @@ qeth_setadpparms_change_macaddr_cb(struct qeth_card *card,
6651 QETH_DBF_TEXT(trace,4,"chgmaccb"); 6652 QETH_DBF_TEXT(trace,4,"chgmaccb");
6652 6653
6653 cmd = (struct qeth_ipa_cmd *) data; 6654 cmd = (struct qeth_ipa_cmd *) data;
6654 if (!card->options.layer2 || card->info.guestlan || 6655 if (!card->options.layer2 ||
6655 !(card->info.mac_bits & QETH_LAYER2_MAC_READ)) { 6656 !(card->info.mac_bits & QETH_LAYER2_MAC_READ)) {
6656 memcpy(card->dev->dev_addr, 6657 memcpy(card->dev->dev_addr,
6657 &cmd->data.setadapterparms.data.change_addr.addr, 6658 &cmd->data.setadapterparms.data.change_addr.addr,
diff --git a/drivers/s390/net/qeth_sys.c b/drivers/s390/net/qeth_sys.c
index d518419cd0c6..65ffc21afc37 100644
--- a/drivers/s390/net/qeth_sys.c
+++ b/drivers/s390/net/qeth_sys.c
@@ -384,8 +384,6 @@ qeth_dev_route_store(struct qeth_card *card, struct qeth_routing_info *route,
384 route->type = PRIMARY_CONNECTOR; 384 route->type = PRIMARY_CONNECTOR;
385 } else if (!strcmp(tmp, "secondary_connector")) { 385 } else if (!strcmp(tmp, "secondary_connector")) {
386 route->type = SECONDARY_CONNECTOR; 386 route->type = SECONDARY_CONNECTOR;
387 } else if (!strcmp(tmp, "multicast_router")) {
388 route->type = MULTICAST_ROUTER;
389 } else if (!strcmp(tmp, "primary_router")) { 387 } else if (!strcmp(tmp, "primary_router")) {
390 route->type = PRIMARY_ROUTER; 388 route->type = PRIMARY_ROUTER;
391 } else if (!strcmp(tmp, "secondary_router")) { 389 } else if (!strcmp(tmp, "secondary_router")) {