Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313959
b: refs/heads/master
c: de74e92
h: refs/heads/master
i:
  313957: 66bda76
  313955: 8c4179b
  313951: 51936a9
v: v3
  • Loading branch information
danborkmann@iogearbox.net authored and David S. Miller committed Jun 11, 2012
1 parent 9f581c8 commit f083194
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: 55afabaa0df0dd139c8796a71beb43d1216fbe43
refs/heads/master: de74e92aa8a44d0b80a53601dc4f6dd6afcb8453
2 changes: 1 addition & 1 deletion trunk/net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ static int packet_sendmsg_spkt(struct kiocb *iocb, struct socket *sock,
* Find the device first to size check it
*/

saddr->spkt_device[13] = 0;
saddr->spkt_device[sizeof(saddr->spkt_device) - 1] = 0;
retry:
rcu_read_lock();
dev = dev_get_by_name_rcu(sock_net(sk), saddr->spkt_device);
Expand Down

0 comments on commit f083194

Please sign in to comment.