David S. Miller e4eda884db net: Make IP alignment calulations clearer.
The assignmnet:

	ip_align = strict ? 2 : NET_IP_ALIGN;

in compare_pkt_ptr_alignment() trips up Coverity because we can only
get to this code when strict is true, therefore ip_align will always
be 2 regardless of NET_IP_ALIGN's value.

So just assign directly to '2' and explain the situation in the
comment above.

Reported-by: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-22 12:27:07 -04:00
..
2016-11-15 11:50:20 -05:00
2017-04-11 14:54:19 -04:00
2017-01-09 16:56:27 -05:00
2017-03-22 15:45:45 -07:00
2017-03-22 15:45:45 -07:00
2017-03-22 15:45:45 -07:00