summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2020-07-06 18:18:08 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-06 23:16:20 +0300
commit9e06e8596bc87cad9dd18869a1b1b42132170dd9 (patch)
treeb846ac2baed230aecdfcab95730fde8a614f3d67 /net/ipv4/tcp_input.c
parent0fe665d42fd0844dbfb60f15b09d71fd0c409b00 (diff)
downloadlinux-9e06e8596bc87cad9dd18869a1b1b42132170dd9.tar.xz
geneve: move all configuration under struct geneve_config
This patch adds a new structure geneve_config and moves the per-device configuration attributes to it, like we already have in VXLAN with struct vxlan_config. This ends up being pretty invasive since those attributes are used everywhere. This allows us to clean up the argument lists for geneve_configure (4 arguments instead of 8) and geneve_nl2info (5 instead of 9). This also reduces the copy-paste of code setting those attributes between geneve_configure and geneve_changelink to a single memcpy, which would have avoided the bug fixed in commit 56c09de347e4 ("geneve: allow changing DF behavior after creation"). Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions