“db3b9438b7d273198dda76f6b30ab5bb678d2778”上不存在“paddle/fluid/operators/gaussian_random_op.cc”
  • X
    ip_gre: get key from session_id correctly in erspan_rcv · 935a9749
    Xin Long 提交于
    erspan only uses the first 10 bits of session_id as the key to look
    up the tunnel. But in erspan_rcv, it missed 'session_id & ID_MASK'
    when getting the key from session_id.
    
    If any other flag is also set in session_id in a packet, it would
    fail to find the tunnel due to incorrect key in erspan_rcv.
    
    This patch is to add 'session_id & ID_MASK' there and also remove
    the unnecessary variable session_id.
    
    Fixes: 84e54fe0 ("gre: introduce native tunnel support for ERSPAN")
    Signed-off-by: NXin Long <lucien.xin@gmail.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    935a9749
ip_gre.c 42.1 KB