Cong Wang wrote: > From: Cong Wang <cong.wang@xxxxxxxxxxxxx> > > struct sk_psock_parser is embedded in sk_psock, it is > unnecessary as skb verdict also uses ->saved_data_ready. > We can simply fold these fields into sk_psock, and get rid > of ->enabled. > > Cc: John Fastabend <john.fastabend@xxxxxxxxx> > Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx> > Cc: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> > Cc: Lorenz Bauer <lmb@xxxxxxxxxxxxxx> > Signed-off-by: Cong Wang <cong.wang@xxxxxxxxxxxxx> > --- > include/linux/skmsg.h | 19 ++++++---------- > net/core/skmsg.c | 53 +++++++++++++------------------------------ > net/core/sock_map.c | 8 +++---- > 3 files changed, 27 insertions(+), 53 deletions(-) > Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>