Files
linux/kernel
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
..
2017-05-12 15:57:15 -07:00
2017-05-12 15:57:15 -07:00
2015-11-19 17:51:48 +01:00
2014-08-08 15:57:18 -07:00
2017-01-12 07:01:56 -07:00
2015-04-12 21:03:31 +02:00
2015-11-23 09:44:58 +01:00
2017-05-08 17:15:12 -07:00
2017-04-21 20:30:46 +08:00
2015-01-17 10:02:23 +13:00
2016-03-01 20:36:56 +01:00
2016-12-22 22:58:37 -05:00