Alexander Lobakin a25f822285 flow_dissector: fix byteorder of dissected ICMP ID
flow_dissector_key_icmp::id is of type u16 (CPU byteorder),
ICMP header has its ID field in network byteorder obviously.
Sparse says:

net/core/flow_dissector.c:178:43: warning: restricted __be16 degrades to integer

Convert ID value to CPU byteorder when storing it into
flow_dissector_key_icmp.

Fixes: 5dec597e5cd0 ("flow_dissector: extract more ICMP information")
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-14 14:30:20 -07:00
..
2021-01-28 16:57:19 -08:00
2020-04-20 12:43:24 -07:00
2020-03-29 22:30:57 -07:00
2019-12-12 17:07:05 -08:00
2021-01-28 00:35:03 +01:00
2020-06-18 20:46:23 -07:00