On Thu, 29 Jun 2017 14:18:07 +0800, Yunsheng Lin wrote: > > + if (mask_basic->n_proto) { > cpu_to_be16(mask_basic->n_proto) > remove cpu_to_be16 in case.
Thanks, but this is incorrect. Byte swapping constants is done at compilation time - therefore it's preferred.