summaryrefslogtreecommitdiff
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
authorGirish Moodalbail <girish.moodalbail@oracle.com>2017-07-21 08:44:20 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-24 23:51:05 +0300
commit5b861f6baa3a22a48d7a4ad0ce38a223d36c978a (patch)
tree5a254e6a0ef5d2efc8d2460fd20080e0af6320b1 /net/sctp/sm_make_chunk.c
parentf7ce91038d52780060ccb0d7ee6dd48967b3e132 (diff)
downloadlinux-5b861f6baa3a22a48d7a4ad0ce38a223d36c978a.tar.xz
geneve: add rtnl changelink support
This patch adds changelink rtnl operation support for geneve devices and the code changes involve: - added geneve_quiesce() which quiesces the geneve device data path for both TX and RX. This lets us perform the changelink operation atomically w.r.t data path. Also added geneve_unquiesce() to reverse the operation of geneve_quiesce(). - refactor geneve_newlink into geneve_nl2info to be used by both geneve_newlink and geneve_changelink - geneve_nl2info takes a changelink boolean argument to isolate changelink checks. - Allow changing only a few attributes (ttl, tos, and remote tunnel endpoint IP address (within the same address family)): - return -EOPNOTSUPP for attributes that cannot be changed for now. Incremental patches can make the non-supported one available in the future if needed. Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
0 files changed, 0 insertions, 0 deletions