This is needed for NFC core. Signed-off-by: Thierry Escande <thierry.escande@xxxxxxxxxxxxxxx> --- backport/include/linux/compat-3.9.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backport/include/linux/compat-3.9.h b/backport/include/linux/compat-3.9.h index 240a328..aed569c 100644 --- a/backport/include/linux/compat-3.9.h +++ b/backport/include/linux/compat-3.9.h @@ -186,6 +186,10 @@ static inline void idr_preload_end(void) #define sk_for_each(__sk, list) \ hlist_for_each_entry(__sk, list, sk_node) +#undef sk_for_each_safe +#define sk_for_each_safe(__sk, tmp, list) \ + hlist_for_each_entry_safe(__sk, tmp, list, sk_node) + #define tty_flip_buffer_push(port) tty_flip_buffer_push((port)->tty) #define tty_insert_flip_string(port, chars, size) tty_insert_flip_string((port)->tty, chars, size) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html