Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9325
b: refs/heads/master
c: b85daee
h: refs/heads/master
i:
  9323: 8ab4c16
v: v3
  • Loading branch information
David S. Miller committed Sep 26, 2005
1 parent 56353a5 commit a5521b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: c62dba9011b93fd88fde929848582b2a98309878
refs/heads/master: b85daee0e497c8fe7c4dc3531674ede645b37cdf
6 changes: 0 additions & 6 deletions trunk/net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,12 +761,6 @@ static int packet_sendmsg(struct kiocb *iocb, struct socket *sock,
if (dev->hard_header) {
int res;
err = -EINVAL;
if (saddr) {
if (saddr->sll_halen != dev->addr_len)
goto out_free;
if (saddr->sll_hatype != dev->type)
goto out_free;
}
res = dev->hard_header(skb, dev, ntohs(proto), addr, NULL, len);
if (sock->type != SOCK_DGRAM) {
skb->tail = skb->data;
Expand Down

0 comments on commit a5521b9

Please sign in to comment.