Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7566
b: refs/heads/master
c: 8e84c80
h: refs/heads/master
v: v3
  • Loading branch information
Frank Pavlic authored and Jeff Garzik committed Sep 7, 2005
1 parent 5f961a5 commit b1e96ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 776bd20fa25fd8fc71fd4a2f213c106d6868db39
refs/heads/master: 8e84c801bad50d2e0e9f802610d2c13f8d342230
20 changes: 10 additions & 10 deletions trunk/drivers/s390/net/claw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* drivers/s390/net/claw.c
* ESCON CLAW network driver
*
* $Revision: 1.35 $ $Date: 2005/03/24 12:25:38 $
* $Revision: 1.38 $ $Date: 2005/08/29 09:47:04 $
*
* Linux fo zSeries version
* Linux for zSeries version
* Copyright (C) 2002,2005 IBM Corporation
* Author(s) Original code written by:
* Kazuo Iimura (iimura@jp.ibm.com)
Expand Down Expand Up @@ -431,12 +431,12 @@ claw_pack_skb(struct claw_privbk *privptr)
if (!skb_queue_empty(&p_ch->collect_queue)) {
/* some data */
held_skb = skb_dequeue(&p_ch->collect_queue);
if (p_env->packing != DO_PACKED)
return held_skb;
if (held_skb)
atomic_dec(&held_skb->users);
dev_kfree_skb_any(held_skb);
else
return NULL;
if (p_env->packing != DO_PACKED)
return held_skb;
/* get a new SKB we will pack at least one */
new_skb = dev_alloc_skb(p_env->write_size);
if (new_skb == NULL) {
Expand All @@ -455,7 +455,7 @@ claw_pack_skb(struct claw_privbk *privptr)
privptr->stats.tx_packets++;
so_far += held_skb->len;
pkt_cnt++;
dev_kfree_skb_irq(held_skb);
dev_kfree_skb_any(held_skb);
held_skb = skb_dequeue(&p_ch->collect_queue);
if (held_skb)
atomic_dec(&held_skb->users);
Expand Down Expand Up @@ -1092,7 +1092,7 @@ claw_release(struct net_device *dev)
}
}
if (privptr->pk_skb != NULL) {
dev_kfree_skb(privptr->pk_skb);
dev_kfree_skb_any(privptr->pk_skb);
privptr->pk_skb = NULL;
}
if(privptr->buffs_alloc != 1) {
Expand Down Expand Up @@ -2016,7 +2016,7 @@ claw_hw_tx(struct sk_buff *skb, struct net_device *dev, long linkid)
p_buf=(struct ccwbk*)privptr->p_end_ccw;
dumpit((char *)p_buf, sizeof(struct endccw));
#endif
dev_kfree_skb(skb);
dev_kfree_skb_any(skb);
if (linkid==0) {
lock=LOCK_NO;
}
Expand Down Expand Up @@ -4061,7 +4061,7 @@ claw_purge_skb_queue(struct sk_buff_head *q)

while ((skb = skb_dequeue(q))) {
atomic_dec(&skb->users);
dev_kfree_skb_irq(skb);
dev_kfree_skb_any(skb);
}
}

Expand Down Expand Up @@ -4410,7 +4410,7 @@ claw_init(void)
#else
"compiled into kernel "
#endif
" $Revision: 1.35 $ $Date: 2005/03/24 12:25:38 $ \n");
" $Revision: 1.38 $ $Date: 2005/08/29 09:47:04 $ \n");


#ifdef FUNCTRACE
Expand Down

0 comments on commit b1e96ac

Please sign in to comment.