ledtrig-netdev: use dev_get_stats to get statistics on kernels >=2.6.30
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Dec 2009 10:06:22 +0000 (10:06 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Dec 2009 10:06:22 +0000 (10:06 +0000)
commit7bb3d8d68df6e9bddce7eb3d2a22c95195514b02
tree3b799bbecf6e8d28f23e44357c0d9be099b18a48
parentb2525c9b8d0003c60e7acebbf33a6565970ece12
ledtrig-netdev: use dev_get_stats to get statistics on kernels >=2.6.30

Fixes a possible NULL pointer dereference.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18925 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic-2.6/files-2.6.30/drivers/leds/ledtrig-netdev.c
target/linux/generic-2.6/files-2.6.31/drivers/leds/ledtrig-netdev.c
target/linux/generic-2.6/files-2.6.32/drivers/leds/ledtrig-netdev.c
This page took 0.028651 seconds and 4 git commands to generate.