]> git.baikalelectronics.ru Git - kernel.git/commit
soreuseport: Cleanup duplicate initialization of more_reuse->max_socks.
authorKuniyuki Iwashima <kuniyu@amazon.co.jp>
Sat, 25 Jan 2020 10:41:02 +0000 (10:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:01:16 +0000 (11:01 +0100)
commit322bd4857cefcfca772f6153de672c5ec46a5ff9
treeb312ccc60874177c7ccc5cc6d0faab843c9a536a
parent488a7d30b493a51a527e90565c8f6dfc4215ab12
soreuseport: Cleanup duplicate initialization of more_reuse->max_socks.

reuseport_grow() does not need to initialize the more_reuse->max_socks
again. It is already initialized in __reuseport_alloc().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock_reuseport.c