diff options
| author | Lorenzo Bianconi <[email protected]> | 2018-01-17 10:41:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-01-19 20:10:23 +0000 |
| commit | 30c3e9d470358a6741e00e1034a1ea85c6a516f0 (patch) | |
| tree | 5e5ff32d154452a327907dca5c61495fcfb076c6 /net/tipc/socket.c | |
| parent | cxgb4: IPv6 filter takes 2 tids (diff) | |
| download | kernel-30c3e9d470358a6741e00e1034a1ea85c6a516f0.tar.gz kernel-30c3e9d470358a6741e00e1034a1ea85c6a516f0.zip | |
l2tp: remove switch block in l2tp_nl_cmd_session_create()
Remove the switch block in l2tp_nl_cmd_session_create() that
checks pseudowire-specific parameters since just L2TP_PWTYPE_ETH and
L2TP_PWTYPE_PPP are currently supported and no actual checks are
performed. Moreover the L2TP_PWTYPE_IP/default case presents a harmless
issue in error handling (break instead of goto out_tunnel)
Signed-off-by: Lorenzo Bianconi <[email protected]>
Acked-by: Guillaume Nault <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
