Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150933
b: refs/heads/master
c: 98ca4a4
h: refs/heads/master
i:
  150931: 5e74e39
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jun 13, 2009
1 parent d8661cd commit f37b3a5
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ae71bafdd4ce29856addfede1ab7046f4e45775b
refs/heads/master: 98ca4a46d27348476c9196ebc0a0c5297431d90f
4 changes: 2 additions & 2 deletions trunk/drivers/net/hamradio/bpqether.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ static int bpq_xmit(struct sk_buff *skb, struct net_device *dev)
if ((newskb = skb_realloc_headroom(skb, AX25_BPQ_HEADER_LEN)) == NULL) {
printk(KERN_WARNING "bpqether: out of memory\n");
kfree_skb(skb);
return -ENOMEM;
return NETDEV_TX_OK;
}

if (skb->sk != NULL)
Expand All @@ -294,7 +294,7 @@ static int bpq_xmit(struct sk_buff *skb, struct net_device *dev)
if ((dev = bpq_get_ether_dev(dev)) == NULL) {
dev->stats.tx_dropped++;
kfree_skb(skb);
return -ENODEV;
return NETDEV_TX_OK;
}

skb->protocol = ax25_type_trans(skb, dev);
Expand Down

0 comments on commit f37b3a5

Please sign in to comment.