Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322043
b: refs/heads/master
c: d92c7f8
h: refs/heads/master
i:
  322041: 5b81a0a
  322039: 71fb3df
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Aug 20, 2012
1 parent 60bf8b1 commit a2c5a8b
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: 6c71bec66ae65305ba5c33c93aa722f21f092737
refs/heads/master: d92c7f8aabae913de16eb855b19cd2002c341896
4 changes: 4 additions & 0 deletions trunk/net/caif/chnl_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)

/* check the version of IP */
ip_version = skb_header_pointer(skb, 0, 1, &buf);
if (!ip_version) {
kfree_skb(skb);
return -EINVAL;
}

switch (*ip_version >> 4) {
case 4:
Expand Down

0 comments on commit a2c5a8b

Please sign in to comment.