]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
inet: frags: remove redundant assignment in inet_frag_reasm_prepare()
authoryuan.gao <yuan.gao@ucloud.cn>
Wed, 3 Jun 2026 06:53:23 +0000 (14:53 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Jun 2026 01:26:11 +0000 (18:26 -0700)
commit831d557a3e40e99268bbcd2f65d23196cbed27b9
tree30cc1fd9ba677b50543edd8a01228e10644446f3
parent144969cd80c5227c2b19fe5f644d6eebd61be586
inet: frags: remove redundant assignment in inet_frag_reasm_prepare()

The assignment is redundant because skb_clone() already copies skb->cb.

Remove the unnecessary code.

Signed-off-by: yuan.gao <yuan.gao@ucloud.cn>
Link: https://patch.msgid.link/20260603065323.2736839-1-yuan.gao@ucloud.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/inet_fragment.c