Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166248
b: refs/heads/master
c: 78f857f
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Williams authored and David Woodhouse committed Mar 25, 2009
1 parent 6ec7be7 commit 04dfaf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4dbedf43d26276f6d7c8c3146d0a5b2f0309d968
refs/heads/master: 78f857f265241dfa6f343d75b45e8b30935f71df
4 changes: 4 additions & 0 deletions trunk/drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,10 @@ void solos_bh(unsigned long card_arg)
memcpy_fromio(header, RX_BUF(card, port), sizeof(*header));

size = le16_to_cpu(header->size);
if (size > (card->buffer_size - sizeof(*header))){
dev_warn(&card->dev->dev, "Invalid buffer size\n");
continue;
}

skb = alloc_skb(size + 1, GFP_ATOMIC);
if (!skb) {
Expand Down

0 comments on commit 04dfaf1

Please sign in to comment.