fix iterate methods for linux kernel version <= 3.10