summaryrefslogtreecommitdiff
path: root/rnd.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-03-06 18:28:27 +0100
committerTobias Klauser <tklauser@distanz.ch>2018-03-06 18:28:27 +0100
commit0cba196c4e8d02c5d96d9eb945583869afde5d2d (patch)
treeafe99fa0e00b36696cbea274e65b07dce7b26f65 /rnd.h
parent44ceece354c50795ba04e450b9269e6e3f92dd34 (diff)
trafgen: don't close dev_out and dev_in in parent process
They are opened in main_loop which is only executed in the child(ren), so close them there again. This avoids closing the devices twice, which may lead to segfaults. Fixes #188 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'rnd.h')
0 files changed, 0 insertions, 0 deletions
f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/mips/pci/pci-ar2315.c')