diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-09-22 18:12:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-24 14:31:37 -0700 |
commit | b194f30c61efb0767a98f47a64530baa8b731670 (patch) | |
tree | 39387d9029c12b398d642175db9a09a64973e392 /net/lapb/lapb_out.c | |
parent | 63d008a4e9ee86614ca5671b7f3ba447df007190 (diff) | |
download | linux-b194f30c61efb0767a98f47a64530baa8b731670.tar.bz2 |
lwtunnel: remove source and destination UDP port config option
The UDP tunnel config is asymmetric wrt. to the ports used. The source and
destination ports from one direction of the tunnel are not related to the
ports of the other direction. We need to be able to respond to ARP requests
using the correct ports without involving routing.
As the consequence, UDP ports need to be fixed property of the tunnel
interface and cannot be set per route. Remove the ability to set ports per
route. This is still okay to do, as no kernel has been released with these
attributes yet.
Note that the ability to specify source and destination ports is preserved
for other users of the lwtunnel API which don't use routes for tunnel key
specification (like openvswitch).
If in the future we rework ARP handling to allow port specification, the
attributes can be added back.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions