tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net80211/michael_mic problem with weird mbuf layout



Hi -

I just encountered a problem with a packet fed to tkip_enmic()
consisting of 7 mbufs with lengths
32+52+817+200+200+200+1 (which sums up to 1502).
The current logic can't handle this. TKIP has been stable for
me for a long time -- something must have changed in NetBSD's
IP stack.
What now -- can these odd numbers be avoided or do we need to
make michael_mic() more general (which would need a temporary
buffer and additional checks and copies)?

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Besuchen Sie uns auf unserem neuen Webauftritt unter www.fz-juelich.de


Home | Main Index | Thread Index | Old Index