aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-04-25 21:04:18 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:31 -0400
commit9c70220b73908f64792422a2c39c593c4792f2c5 (patch)
tree2090ea10aaa2714a5e095bae8cc02e743c378a3a /drivers/s390/net
parenta27ef749e7be3b06fb58df53d94eb97a21f18707 (diff)
[SK_BUFF]: Introduce skb_transport_header(skb)
For the places where we need a pointer to the transport header, it is still legal to touch skb->h.raw directly if just adding to, subtracting from or setting it to another layer header. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/qeth_eddp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_eddp.c b/drivers/s390/net/qeth_eddp.c
index b8e84674e170..5890bb5ad23e 100644
--- a/drivers/s390/net/qeth_eddp.c
+++ b/drivers/s390/net/qeth_eddp.c
@@ -476,13 +476,13 @@ qeth_eddp_fill_context_tcp(struct qeth_eddp_context *ctx,
476 eddp = qeth_eddp_create_eddp_data(qhdr, 476 eddp = qeth_eddp_create_eddp_data(qhdr,
477 skb_network_header(skb), 477 skb_network_header(skb),
478 ip_hdrlen(skb), 478 ip_hdrlen(skb),
479 skb->h.raw, 479 skb_transport_header(skb),
480 tcp_hdrlen(skb)); 480 tcp_hdrlen(skb));
481 else 481 else
482 eddp = qeth_eddp_create_eddp_data(qhdr, 482 eddp = qeth_eddp_create_eddp_data(qhdr,
483 skb_network_header(skb), 483 skb_network_header(skb),
484 sizeof(struct ipv6hdr), 484 sizeof(struct ipv6hdr),
485 skb->h.raw, 485 skb_transport_header(skb),
486 tcp_hdrlen(skb)); 486 tcp_hdrlen(skb));
487 487
488 if (eddp == NULL) { 488 if (eddp == NULL) {