aboutsummaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-15 07:29:28 -0400
committerPatrick McHardy <kaber@trash.net>2010-04-15 07:31:29 -0400
commitb0ebb739a8f68039f03e80b3476b204fe5adf0d7 (patch)
tree45921e2969657f6a35fbac751218ea78e1f3be9b /net/rfkill
parent66496d4973dcb848d163805fa6b485850b7555e3 (diff)
ipv4: ipmr: fix invalid cache resolving when adding a non-matching entry
The patch to convert struct mfc_cache to list_heads (ipv4: ipmr: convert struct mfc_cache to struct list_head) introduced a bug when adding new cache entries that don't match any unresolved entries. The unres queue is searched for a matching entry, which is then resolved. When no matching entry is present, the iterator points to the head of the list, but is treated as a matching entry. Use a seperate variable to indicate that a matching entry was found. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions