wlan - Fix mbuf handling when using encryption.
authorJoe Talbott <josepht@dragonflybsd.org>
Mon, 12 Jul 2010 22:38:58 +0000 (18:38 -0400)
committerJoe Talbott <josepht@dragonflybsd.org>
Tue, 13 Jul 2010 01:33:35 +0000 (21:33 -0400)
commit005cdb6a67d050afb4276ea677c330792b83f830
tree56376fe88c09532c678ab8de59b6c4798e2f37e2
parentea57071f52dc110caadc6c822b1c02f95dfe7844
wlan - Fix mbuf handling when using encryption.

Re-add a __FreeBSD__ only section of code that copies an mbuf chain to
a writtable version before encapsulating the packet.

Uses m_dup() since we don't have m_unshare() (yet).

Discussed-With: dillon
sys/netproto/802_11/wlan/ieee80211_output.c