Yajun Deng faf482ca19 net: ipv4: Move ip_options_fragment() out of loop
The ip_options_fragment() only called when iter->offset is equal to zero,
so move it out of loop, and inline 'Copy the flags to each fragment.'
As also, remove the unused parameter in ip_frag_ipcb().

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-24 09:24:18 +01:00
..
2021-06-30 15:51:09 -07:00
2021-08-04 10:01:26 +01:00
2021-06-30 15:51:09 -07:00
2021-06-07 14:08:30 -07:00
2021-05-17 15:29:35 -07:00
2021-08-05 13:27:50 +01:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-06-30 15:51:09 -07:00
2021-07-27 20:11:44 +01:00
2021-07-07 20:52:25 -07:00
2021-06-29 11:28:21 -07:00
2021-06-23 12:56:08 -07:00
2021-05-17 15:29:35 -07:00
2021-06-29 11:28:21 -07:00
2021-08-05 13:27:50 +01:00
2020-12-16 11:01:04 -08:00
2020-03-16 18:26:54 -07:00
2021-03-28 17:31:13 -07:00
2020-12-14 16:40:27 -08:00
2021-05-17 15:29:35 -07:00
2021-07-21 08:49:31 -07:00
2021-05-17 15:29:35 -07:00