davidker / unisys

Master repository for new changes to drivers/staging/unisys and drivers/visorbus
Other
2 stars 1 forks source link

net_rcv_pkt has wrong alignment #81

Open wordforthis opened 8 years ago

wordforthis commented 8 years ago

See KanBoard-1563.

The net_rcv_pkt (and other structures) in iochannel.h are packed in such a way that fields aren't naturally aligned. Depending on the architecture, this may cause performance degradation or even crashes.

wordforthis commented 8 years ago

Preliminary patch (fixing just the net_rcv_pkt but not the others) is at:

github branch for drivers svn branch for ICSP