]> git.baikalelectronics.ru Git - kernel.git/commit
gtp: make GTP sockets in gtp_newlink optional
authorAndreas Schultz <aschultz@tpip.net>
Thu, 9 Mar 2017 16:42:57 +0000 (17:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 20:04:30 +0000 (13:04 -0700)
commite8ef3f4e64d9bae5aba8c865c98d364dbc2813d6
tree72c921b38f7193e7880b70b968226cf367b3486b
parent2532df3455b40e95edfe43c76c652507d18c37b2
gtp: make GTP sockets in gtp_newlink optional

Having both GTPv0-U and GTPv1-U is not always desirable.
Fallback from GTPv1-U to GTPv0-U was depreciated from 3GPP
Rel-8 onwards. Post Rel-8 implementation are discuraged
from listening on the v0 port (see 3GPP TS 29.281, Sect. 1).

A future change will completely decouple the sockets from the
network device. Till then, at least one of the sockets needs to
be specified (either v0 or v1), the other is optional.

Signed-off-by: Andreas Schultz <aschultz@tpip.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c