Commit 332abf9
committed
Dedup SIOCSIFMTU ioctl handler via fall-through
The else branch in ff_veth_ioctl() SIOCSIFMTU duplicated the ether_ioctl
call already present in the default case. Move break into the mtu_enable
branch and let the disabled path fall through to default.1 parent 0f8f699 commit 332abf9
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
| 254 | + | |
256 | 255 | | |
257 | | - | |
| 256 | + | |
258 | 257 | | |
259 | 258 | | |
260 | 259 | | |
| |||
0 commit comments