Skip to contentSkip to conversation

af_iucv: compile fix - adopt to skbuff changes.

PATCH Applied Heiko Carstens 2 participants 2 messages May 5, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 af_iucv: compile fix - adopt to skbuff changes.

[patch] af_iucv: compile fix - adopt to skbuff changes.

From: Heiko Carstens <[email protected]>

CC [M] net/iucv/af_iucv.o
net/iucv/af_iucv.c: In function `iucv_fragment_skb':
net/iucv/af_iucv.c:984: error: structure has no member named h' net/iucv/af_iucv.c:985: error: structure has no member named nh' net/iucv/af_iucv.c:988: error: incompatible type for argument 1 of
`skb_queue_tail'

Cc Arnaldo Carvalho de Melo <[email protected]>
Cc David Miller <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Frank Pavlic <[email protected]>
---
 net/iucv/af_iucv.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
net/iucv/af_iucv.c +3 -3
Index: linux-2.6/net/iucv/af_iucv.c
===================================================================
@@ -961,7 +961,7 @@ static void iucv_callback_connack(struct
 }
 
 static int iucv_fragment_skb(struct sock *sk, struct sk_buff *skb, int len,
-			     struct sk_buff_head fragmented_skb_q)
+			     struct sk_buff_head *fragmented_skb_q)
 {
 	int dataleft, size, copied = 0;
 	struct sk_buff *nskb;
@@ -981,8 +981,8 @@ static int iucv_fragment_skb(struct sock
 		copied += size;
 		dataleft -= size;
 
-		nskb->h.raw = nskb->data;
-		nskb->nh.raw = nskb->data;
+		skb_reset_transport_header(nskb);
+		skb_reset_network_header(nskb);
 		nskb->len = size;
 
 		skb_queue_tail(fragmented_skb_q, nskb);
maintainer Applied
#1 lore raw

From: Heiko Carstens <[email protected]>
Date: Sat, 5 May 2007 15:20:58 +0200

Quoted 11 lines

[patch] af_iucv: compile fix - adopt to skbuff changes.

From: Heiko Carstens <[email protected]>

CC [M] net/iucv/af_iucv.o
net/iucv/af_iucv.c: In function `iucv_fragment_skb':
net/iucv/af_iucv.c:984: error: structure has no member named h' net/iucv/af_iucv.c:985: error: structure has no member named nh' net/iucv/af_iucv.c:988: error: incompatible type for argument 1 of
`skb_queue_tail'

Quoted 5 lines
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc David Miller <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Frank Pavlic <[email protected]>

Applied, thanks Heiko.