Commit 439117c
netfilter: xt_socket: enable defrag after all other checks
[ Upstream commit 542be3f ]
Originally this did not matter because defrag was enabled once per netns
and only disabled again on netns dismantle. When this got changed I should
have adjusted checkentry to not leave defrag enabled on error.
Fixes: de8c121 ("netfilter: disable defrag once its no longer needed")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent fde99f6 commit 439117c
1 file changed
Lines changed: 6 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 171 | | |
177 | 172 | | |
178 | 173 | | |
179 | 174 | | |
180 | 175 | | |
181 | 176 | | |
182 | | - | |
| 177 | + | |
| 178 | + | |
183 | 179 | | |
184 | 180 | | |
185 | 181 | | |
186 | 182 | | |
187 | 183 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 184 | | |
194 | 185 | | |
195 | 186 | | |
196 | 187 | | |
197 | 188 | | |
198 | 189 | | |
199 | | - | |
| 190 | + | |
| 191 | + | |
200 | 192 | | |
201 | 193 | | |
202 | 194 | | |
203 | 195 | | |
204 | 196 | | |
205 | 197 | | |
206 | | - | |
207 | 198 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | 199 | | |
212 | 200 | | |
213 | 201 | | |
214 | 202 | | |
215 | 203 | | |
216 | | - | |
| 204 | + | |
| 205 | + | |
217 | 206 | | |
218 | 207 | | |
219 | 208 | | |
| |||
0 commit comments