Unconditional 32-bit shift is not endianness-safe. Modify the logic to work both on LE and BE.
Details
Details
- Reviewers
np nwhitehorn mw - Commits
- rS327811: CXGBE: fix get_filt to be endianness-aware
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Have you tested this change on x86 to make sure it still works on LE hardware? It looks ok but it would be nice to test...