diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2021-08-23 11:17:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-24 09:24:18 +0100 |
commit | faf482ca196a5b16007190529b3b2dd32ab3f761 (patch) | |
tree | ed998403ce6e3908ee8f94a7a301cc161feff285 /net/mptcp/pm.c | |
parent | 1bb39cb65bcf6c7ef079c57c64041f60155e5f21 (diff) | |
download | lwn-faf482ca196a5b16007190529b3b2dd32ab3f761.tar.gz lwn-faf482ca196a5b16007190529b3b2dd32ab3f761.zip |
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>
Diffstat (limited to 'net/mptcp/pm.c')
0 files changed, 0 insertions, 0 deletions