On Fri, Sep 14, 2018 at 11:30 PM Subash Abhinov Kasiviswanathan <[email protected]> wrote: > > On 2018-09-14 11:59, Willem de Bruijn wrote: > > From: Willem de Bruijn <[email protected]> > > > > With configurable gro, the flags field in net_offloads may be changed. > > > > Remove the const keyword. This is a noop otherwise. > > > > Signed-off-by: Willem de Bruijn <[email protected]> > > diff --git a/net/sctp/offload.c b/net/sctp/offload.c > > index 123e9f2dc226..ad504b83245d 100644 > > --- a/net/sctp/offload.c > > +++ b/net/sctp/offload.c > > @@ -90,7 +90,7 @@ static struct sk_buff *sctp_gso_segment(struct > > sk_buff > > *skb, > > return segs; > > } > > > > -static const struct net_offload sctp_offload = { > > +static struct net_offload sctp_offload = { > > .callbacks = { > > .gso_segment = sctp_gso_segment, > > }, > > Hi Willem > > sctp6 also needs to be deconstified. > > diff --git a/net/sctp/offload.c b/net/sctp/offload.c > index ad504b8..4be7794 100644 > --- a/net/sctp/offload.c > +++ b/net/sctp/offload.c > @@ -96,7 +96,7 @@ static struct sk_buff *sctp_gso_segment(struct sk_buff > *skb, > }, > }; > > -static const struct net_offload sctp6_offload = { > +static struct net_offload sctp6_offload = { > .callbacks = { > .gso_segment = sctp_gso_segment, > },
Thanks! I'll update that.
