Skip to content

Commit

Permalink
[AF_IUCV]: Compile fix - adopt to skbuff changes.
Browse files Browse the repository at this point in the history
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'

Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
heicarst authored and davem330 committed May 5, 2007
1 parent 62ea6d8 commit af7cd37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/iucv/af_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ static void iucv_callback_connack(struct iucv_path *path, u8 ipuser[16])
}

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;
Expand All @@ -981,8 +981,8 @@ static int iucv_fragment_skb(struct sock *sk, struct sk_buff *skb, int len,
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);
Expand Down

0 comments on commit af7cd37

Please sign in to comment.