Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134757
b: refs/heads/master
c: fbbfb98
h: refs/heads/master
i:
  134755: 81a5e9b
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Feb 27, 2009
1 parent e37999e commit f651c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: c71a2699c511623e0520c754cfc109c191bf64e2
refs/heads/master: fbbfb986a8a3dfb42cd4cae7b1c7f822792823af
3 changes: 1 addition & 2 deletions trunk/drivers/net/wan/cosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,7 @@ static char *cosa_net_setup_rx(struct channel_data *chan, int size)
* We can safely fall back to non-dma-able memory, because we have
* the cosa->bouncebuf pre-allocated.
*/
if (chan->rx_skb)
kfree_skb(chan->rx_skb);
kfree_skb(chan->rx_skb);
chan->rx_skb = dev_alloc_skb(size);
if (chan->rx_skb == NULL) {
printk(KERN_NOTICE "%s: Memory squeeze, dropping packet\n",
Expand Down

0 comments on commit f651c50

Please sign in to comment.