Re: [PATCH] net: sched: report if filter is too large to dump

2018-02-19 Thread David Miller
From: Roman Kapl Date: Sun, 18 Feb 2018 23:10:47 +0100 > So far, if the filter was too large to fit in the allocated skb, the > kernel did not return any error and stopped dumping. Modify the dumper > so that it returns -ENOMSG when a filter fails to dump and it is the > first filter in the skb.

[PATCH] net: sched: report if filter is too large to dump

2018-02-18 Thread Roman Kapl
So far, if the filter was too large to fit in the allocated skb, the kernel did not return any error and stopped dumping. Modify the dumper so that it returns -ENOMSG when a filter fails to dump and it is the first filter in the skb. If we are not first, we will get a next chance with more room. I