summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2015-03-18 14:50:44 -0300
committerDavid S. Miller <davem@davemloft.net>2015-03-18 22:05:10 -0400
commit56ef9c909b40483d2c8cb63fcbf83865f162d5ec (patch)
tree71163c8606ff1f64ac22e358c501fbb6667e0ea6 /Documentation
parent54ff9ef36bdf84d469a098cbf8e2a103fbc77054 (diff)
downloadlinux-56ef9c909b40483d2c8cb63fcbf83865f162d5ec.tar.gz
linux-56ef9c909b40483d2c8cb63fcbf83865f162d5ec.tar.bz2
linux-56ef9c909b40483d2c8cb63fcbf83865f162d5ec.zip
vxlan: Move socket initialization to within rtnl scope
Currently, if a multicast join operation fail, the vxlan interface will be UP but not functional, without even a log message informing the user. Now that we can grab socket lock after already having rntl, we don't need to defer socket creation and multicast operations. By not deferring we can do proper error reporting to the user through ip exit code. This patch thus removes all deferred work that vxlan had and put it back inline. Now the socket will only be created, bound and join multicast group when one bring the interface up, and will undo all that as soon as one put the interface down. As vxlan_sock_hold() is not used after this patch, it was removed too. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions