commit | e7fefb3214b5a1ed030cab9df513560c503a9851 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Sep 01 16:08:08 2017 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Fri Sep 01 12:09:42 2017 -0700 |
tree | 7fe99f8f030f0d96669a0fc620e51d370d14399c | |
parent | 6c6bbc30f4e7fedc74381627f7ec86d26050b404 [diff] |
link_gre6: Fix for changing tclass/flowlabel When trying to change tclass or flowlabel of a GREv6 tunnel which has the respective value set already, the code accidentally bitwise OR'ed the old and the new value, leading to unexpected results. Fix this by clearing the relevant bits of flowinfo variable prior to assigning the new value. Fixes: af89576d7a8c4 ("iproute2: GRE over IPv6 tunnel support.") Signed-off-by: Phil Sutter <phil@nwl.cc>