PERFORCE change 43629 for review
Sam Leffler
sam at FreeBSD.org
Mon Dec 8 10:41:01 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=43629
Change 43629 by sam at sam_ebb on 2003/12/08 10:40:07
check copyout return for SIOCG80211STATS
Affected files ...
.. //depot/projects/netperf/sys/net80211/ieee80211_ioctl.c#10 edit
Differences ...
==== //depot/projects/netperf/sys/net80211/ieee80211_ioctl.c#10 (text+ko) ====
@@ -1016,7 +1016,8 @@
break;
case SIOCG80211STATS:
ifr = (struct ifreq *)data;
- copyout(&ic->ic_stats, ifr->ifr_data, sizeof (ic->ic_stats));
+ error = copyout(&ic->ic_stats, ifr->ifr_data,
+ sizeof (ic->ic_stats));
break;
default:
error = ether_ioctl(ifp, cmd, data);
More information about the p4-projects
mailing list