+1
−0
+2
−5
+1
−0
+1
−0
+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Direct call of tcp_set_keepalive() function from protocol-agnostic sock_setsockopt() function in net/core/sock.c violates network layering. And newly introduced protocol (SMC-R) will need its own keepalive function. Therefore, add "keepalive" function pointer to "struct proto", and call it from sock_setsockopt() via this pointer. Signed-off-by:Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by:
Utz Bacher <utz.bacher@de.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>