Re: [PATCH v2 02/12] l2tp: Split pppol2tp patch into separate l2tp and ppp parts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, March 29, 2010 - 3:18 am

Le lundi 29 mars 2010 à 10:56 +0100, James Chapman a écrit :


Please use hash_32() here, its better in this case on 64 bit arches (32
bits in session_id)

return &tunnel->session_hlist[hash_32(session_id, L2TP_HASH_BITS)];



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 00/12] l2tp: Introduce L2TPv3 support, James Chapman, (Mon Mar 29, 2:56 am)
[PATCH v2 05/12] l2tp: Add L2TPv3 protocol support, James Chapman, (Mon Mar 29, 2:57 am)
[PATCH v2 09/12] l2tp: Add netlink control API for L2TP, James Chapman, (Mon Mar 29, 2:57 am)
[PATCH v2 12/12] l2tp: Update documentation, James Chapman, (Mon Mar 29, 2:57 am)
Re: [PATCH v2 02/12] l2tp: Split pppol2tp patch into separ ..., Eric Dumazet, (Mon Mar 29, 3:18 am)