Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75145
b: refs/heads/master
c: d883a03
h: refs/heads/master
i:
  75143: fb55687
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Dec 21, 2007
1 parent 0720a7a commit 4445ae6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 1ac70e7ad24a88710cf9b6d7ababaefa2b575df0
refs/heads/master: d883a0367149506e8b7a3f31891d1ea30b9377f3
9 changes: 6 additions & 3 deletions trunk/net/ipv4/fib_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,10 +804,13 @@ static void nl_fib_input(struct sk_buff *skb)

nlh = nlmsg_hdr(skb);
if (skb->len < NLMSG_SPACE(0) || skb->len < nlh->nlmsg_len ||
nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*frn))) {
kfree_skb(skb);
nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*frn)))
return;
}

skb = skb_clone(skb, GFP_KERNEL);
if (skb == NULL)
return;
nlh = nlmsg_hdr(skb);

frn = (struct fib_result_nl *) NLMSG_DATA(nlh);
tb = fib_get_table(frn->tb_id_in);
Expand Down

0 comments on commit 4445ae6

Please sign in to comment.