net: rmnet_data: remove NOARP flags for the virtual net device
When IFF_NOARP flag is set for a device, the kernel automatically sets the accept_dad flag to -1 even though autoconf is enabled. As a result, nodes on that link were not receiving neighbour solicitations. Removed the setting of IFF_NOARP during net device setup. CRs-Fixed: 629099 Change-Id: Ia8b5d1163196cc0518a20beba643930b4f439771 Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
parent
b410fce77c
commit
2d06acfdbd
1 changed files with 0 additions and 2 deletions
|
@ -480,8 +480,6 @@ static void rmnet_vnd_setup(struct net_device *dev)
|
|||
dev_conf = (struct rmnet_vnd_private_s *) netdev_priv(dev);
|
||||
memset(dev_conf, 0, sizeof(struct rmnet_vnd_private_s));
|
||||
|
||||
/* keep the default flags, just add NOARP */
|
||||
dev->flags |= IFF_NOARP;
|
||||
dev->netdev_ops = &rmnet_data_vnd_ops;
|
||||
dev->mtu = RMNET_DATA_DFLT_PACKET_SIZE;
|
||||
dev->needed_headroom = RMNET_DATA_NEEDED_HEADROOM;
|
||||
|
|
Loading…
Add table
Reference in a new issue