OSDN Git Service

Merge branch 'bareudp-several-code-cleanup-for-bareudp-module'
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:22:29 +0000 (21:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:22:29 +0000 (21:22 -0700)
commit1033a215fee57a941f2620d143d2aad012e9f6bb
tree54bb67e486613dbd525297cfb46b0c8912ca394b
parent31de3f562f52ada96f3a003989fe6501609e3975
parent2baecda37f4ef4414be15452a333fe4fd13c0df3
Merge branch 'bareudp-several-code-cleanup-for-bareudp-module'

Taehee Yoo says:

====================
bareudp: several code cleanup for bareudp module

This patchset is to cleanup bareudp module code.

1. The first patch is to add module alias
In the current bareudp code, there is no module alias.
So, RTNL couldn't load bareudp module automatically.

2. The second patch is to add extack message.
The extack error message is useful for noticing specific errors
when command is failed.

3. The third patch is to remove unnecessary udp_encap_enable().
In the bareudp_socket_create(), udp_encap_enable() is called.
But, the it's already called in the setup_udp_tunnel_sock().
So, it could be removed.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>