Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211238
b: refs/heads/master
c: a91e7d4
h: refs/heads/master
v: v3
  • Loading branch information
Kumar Sanghvi authored and David S. Miller committed Sep 30, 2010
1 parent 10c603d commit 4dc3b95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 9337057d4335053dc14934a60d9c3e8fe4e32039
refs/heads/master: a91e7d471e2e384035b9746ea707ccdcd353f5dd
3 changes: 2 additions & 1 deletion trunk/net/phonet/pep.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,13 @@ static void pipe_grant_credits(struct sock *sk)
static int pipe_rcv_status(struct sock *sk, struct sk_buff *skb)
{
struct pep_sock *pn = pep_sk(sk);
struct pnpipehdr *hdr = pnp_hdr(skb);
struct pnpipehdr *hdr;
int wake = 0;

if (!pskb_may_pull(skb, sizeof(*hdr) + 4))
return -EINVAL;

hdr = pnp_hdr(skb);
if (hdr->data[0] != PN_PEP_TYPE_COMMON) {
LIMIT_NETDEBUG(KERN_DEBUG"Phonet unknown PEP type: %u\n",
(unsigned)hdr->data[0]);
Expand Down

0 comments on commit 4dc3b95

Please sign in to comment.