Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211429
b: refs/heads/master
c: ae6df5f
h: refs/heads/master
i:
  211427: f973ec1
v: v3
  • Loading branch information
Kees Cook authored and David S. Miller committed Oct 8, 2010
1 parent fddd3c6 commit 0559ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 94b105723a3bfca45c75916423cd959ce71ed215
refs/heads/master: ae6df5f96a51818d6376da5307d773baeece4014
2 changes: 1 addition & 1 deletion trunk/net/core/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ static noinline_for_stack int ethtool_get_rxnfc(struct net_device *dev,
if (info.cmd == ETHTOOL_GRXCLSRLALL) {
if (info.rule_cnt > 0) {
if (info.rule_cnt <= KMALLOC_MAX_SIZE / sizeof(u32))
rule_buf = kmalloc(info.rule_cnt * sizeof(u32),
rule_buf = kzalloc(info.rule_cnt * sizeof(u32),
GFP_USER);
if (!rule_buf)
return -ENOMEM;
Expand Down

0 comments on commit 0559ee9

Please sign in to comment.