diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-06-11 18:15:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-06-11 18:15:56 +0000 |
commit | 11fcc68fad30620c6ac87dba9b240103f5cbc4e6 (patch) | |
tree | a2f7140c0e82286b40dda1a6da540fefba2e3cf9 /sys/net80211/ieee80211_input.c | |
parent | 053f2c9694efd78cad0fb364e18939d590655719 (diff) |
Replace all ovbcopy with memmove; swap the src and dst arguments too
ok otto
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index bdae5b77e57..82cddf5f0a8 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.122 2012/10/12 19:53:24 haesbaert Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.123 2013/06/11 18:15:53 deraadt Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -1047,7 +1047,7 @@ ieee80211_amsdu_decap(struct ieee80211com *ic, struct mbuf *m, /* convert to Ethernet II header */ eh->ether_type = llc->llc_snap.ether_type; /* strip LLC+SNAP headers */ - ovbcopy(eh, (u_int8_t *)eh + LLC_SNAPFRAMELEN, + memmove((u_int8_t *)eh + LLC_SNAPFRAMELEN, eh, ETHER_HDR_LEN); m_adj(m, LLC_SNAPFRAMELEN); len -= LLC_SNAPFRAMELEN; |