Stability of discontinuity structures described by a generalized KdV–Burgers equation