]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PPP] L2TP: Disallow non-UDP datagram sockets
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Sep 2007 20:18:17 +0000 (13:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 20 Sep 2007 19:14:17 +0000 (12:14 -0700)
commita14d6abc947a5504e8d0f934da57b5bc4cea59ca
treeb84b2f958ce2e64357e3972b1dd6b1b38113ce39
parent21d0c83302fb742b7ffb6089d40196166102f5ed
[PPP] L2TP: Disallow non-UDP datagram sockets

With the addition of UDP-Lite we need to refine the socket check so
that only genuine UDP sockets are allowed through.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c