Re: [tcpdump-workers] [PATCH] Improvement of behaviour when -s 0 is used

2011-12-12 Thread Magnus Gille
Sorry Guy, My emails got stuck when the mailing list went down and I didn't get anything so I ended up sending it twice. Thanks for your comments. //Magnus On Sun, Dec 11, 2011 at 2:33 PM, Guy Harris wrote: > > On Oct 14, 2011, at 2:51 PM, Magnus Gille wrote: > > > I came across an issue with

Re: [tcpdump-workers] [PATCH] Improvement of behaviour when -s 0 is used

2011-12-11 Thread Guy Harris
On Oct 14, 2011, at 2:51 PM, Magnus Gille wrote: > I came across an issue with tcpdump where the linux kernel couldn't allocate > memory properly when we ran tcpdump -s 0 on one of our boxes. Tcpdump sets > snaplen to 65535 if -s 0 is provided and this became a problem for us, to > get around thi

[tcpdump-workers] [PATCH] Improvement of behaviour when -s 0 is used

2011-11-29 Thread Magnus Gille
I came across an issue with tcpdump where the linux kernel couldn't allocate memory properly when we ran tcpdump -s 0 on one of our boxes. Tcpdump sets snaplen to 65535 if -s 0 is provided and this became a problem for us, to get around this I changed the behaviour to query what the MTU actually is