]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: zero out stats in pppol2tp_copy_stats()
authorGuillaume Nault <g.nault@alphalink.fr>
Fri, 10 Aug 2018 11:22:02 +0000 (13:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 19:13:49 +0000 (12:13 -0700)
commitab204a46a9f0bca718b1cb08147fa1eedc0504cb
treec3682c22665ea9033c29abc543eb6ca3030c8a7b
parent68f62506d75b2d64eac206919eb98f397fa0a2d0
l2tp: zero out stats in pppol2tp_copy_stats()

Integrate memset(0) in pppol2tp_copy_stats() to avoid calling it
manually every time.

While there, constify 'stats'.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c