diff options
author | Sven Eckelmann <sven.eckelmann@gmx.de> | 2010-08-21 14:18:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-23 18:15:37 -0700 |
commit | 1189f130f89b73eecb6117c0fc5e90abbcb7faa0 (patch) | |
tree | 2e3ea12db94b79a177c86727a50c674d9b504324 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 51e21ae3d79e608022271f91166c84bd0e9fb8b8 (diff) |
Staging: batman-adv: Create batman_if only on register event
We try to get all events for all net_devices to be able to add special
sysfs folders for the batman-adv configuration. This also includes such
events like NETDEV_POST_INIT which has no valid kobject according to
v2.6.32-rc3-13-g7ffbe3f. This would create an oops in that situation.
It is enough to create the batman_if only on NETDEV_REGISTER events
because we will also receive those events for devices which already
existed when we registered the notifier call.
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions