]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: unmanaged L2TPv3 tunnels fixes
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 4 Apr 2010 08:02:46 +0000 (01:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Apr 2010 08:02:46 +0000 (01:02 -0700)
commit470609e1fc76fb63a794dd634a64116b987432a4
tree4f182b3e880f597f9ee4cb48189da6b4f19b8003
parent66fe0ded6275d03db00cf16c95c9962cd5975f61
l2tp: unmanaged L2TPv3 tunnels fixes

Followup to commit 7ecc1f0d
(l2tp: Add support for static unmanaged L2TPv3 tunnels)

One missing init in l2tp_tunnel_sock_create() could access random kernel
memory, and a bit field should be unsigned.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_core.h