rtnl: Add ARPHRD_PUREIP netdev type.#25
Conversation
| #define ARPHRD_RAWIP_2 (530) /* Some android kernels */ | ||
|
|
||
| /* ARPHRD_PUREIP has been introduced in some MTK kernels (in intention to | ||
| * get rid of link local address creation for the ccmni net devices) */ |
There was a problem hiding this comment.
Untrue, well, maybe for MTK but in general reason was this https://lkml.org/lkml/2021/6/24/76 and the solution is not really accepted into kernels as of https://lkml.kernel.org/netdev/YNmWwSsZ02iigiHC@kroah.com/
Not yet sure if this is to be included. Upstream might criticize this for sure.
And, multi line comments are formatted (coding-style.txt M2):
/*
* Line1.
* Line2.
*/
There was a problem hiding this comment.
Comment section fixed.
It is possible for me to roll current MTK kernel's ccmni interface netdev type back to ARPHRD_PPP as long as it will not lead to any kind of issues (presumably).
But still, I'll leave this PR as a suggestion because there are no guarantees that ARPHRD_PUREIP will not be used in the future MTK projects.
Since ARPHRD_PUREIP netdev type has been introduced in kernel on some of the MTK-based devices, there have been issues caused by the subject. This netdev type needs to be handled by ipconfig module, so this commit adds the support of the ARPHRD_PUREIP by handling appropriate ntelink events.
Since
ARPHRD_PUREIPnetdev type has been introduced in kernel on some ofthe MTK-based devices, there have been issues caused by the subject.
This netdev type needs to be handled by
ipconfigmodule, so this commitadds the support of the
ARPHRD_PUREIPby handling appropriate ntelinkevents.