Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102651
b: refs/heads/master
c: c03571a
h: refs/heads/master
i:
  102649: c23f0af
  102647: e7db45c
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed May 22, 2008
1 parent 7aa3650 commit f5781b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: c73d2589b784098b2bb6e986c1a7b04e9555fbd3
refs/heads/master: c03571a3e22b821e5be7bda7b166c4554770f489
6 changes: 1 addition & 5 deletions trunk/drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -1527,12 +1527,8 @@ static int velocity_rx_copy(struct sk_buff **rx_skb, int pkt_size,
static inline void velocity_iph_realign(struct velocity_info *vptr,
struct sk_buff *skb, int pkt_size)
{
/* FIXME - memmove ? */
if (vptr->flags & VELOCITY_FLAGS_IP_ALIGN) {
int i;

for (i = pkt_size; i >= 0; i--)
*(skb->data + i + 2) = *(skb->data + i);
memmove(skb->data + 2, skb->data, pkt_size);
skb_reserve(skb, 2);
}
}
Expand Down

0 comments on commit f5781b7

Please sign in to comment.